Support » Plugin: Easy FancyBox » 1st image clicked in Gallery in sidebar doesn't display title

  • I’m using your plugin and WP-Property which also uses fancybox. I’ve stopped their script being run on the property page.

    But I still have a small issue in that the first picture I click in the sidebar (and it can be any picture I click on) does not display the title. Do you have any pointers as to why this might be so I can investigate further.

    Many thanks.

Viewing 1 replies (of 1 total)
  • Plugin Author RavanH


    FancyBox takes the title from either the link “title” attribute or (when there is no title attribute) the thumbnail “alt” attribute. So your sidebar image link code should look like this for example:

    <a href="..." title="the title"><img src="..." alt="the backup title" /></a>

    But if the source code does not include any of these attributes, then there can be no title in the lightbox.

Viewing 1 replies (of 1 total)
  • The topic ‘1st image clicked in Gallery in sidebar doesn't display title’ is closed to new replies.