Viewing 5 replies - 1 through 5 (of 5 total)
  • Are you setting the title attribute to the a tag or the img tag?

    Thread Starter narwen

    (@narwen)

    If I set ‘titleFromAlt’ true, it shows alt normally, but I want title, my html contain both title and alt text:

    <a href="url"><img src="https://" alt="THIS TEXT VISIBLE" title="AND THIS IS NOT" /></a>

    Try moving (or copying) the title to the A tag:

    <a href="url" title="image title here"><img src="https://" alt="alt text describing image here" /></a>

    Thread Starter narwen

    (@narwen)

    Yes, it shows correctly with title in tag a )

    Thread Starter narwen

    (@narwen)

    I get it! Thank you )

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Easy FancyBox] use title instead of alt’ is closed to new replies.