Using image title AND description insinde fancybox?
-
Hi there!
I’m using Easy Fancybox in combination with NextGen Gallery 2.x.
Now I’m trying to use both, the title and the description of the picture inside the fancybox caption but I don’t get it…Here’s the (simplified) code which EFB and NGG generate:
<a class="image-anchor fancybox" target="_self" data-description="IMAGE DESCRIPTION" data-title="IMAGE TITLE" data-image-id="-ID-" data-thumbnail="-link-" data-src="-link-" title="IMAGE DESCRIPTION" href="-link" rel="gallery"> <img class="ngg-singlepic ngg-left" title="IMAGE TITLE" alt="IMAGE TITLE" src="-link-"></img> </a>
So the information I want to show as caption inside the EFB popup is included inside the anchor. Is it possible to pass this information towards the popup?
A little bit crazy: this information is NOT included inside the IMG-Tag but I would able to modify the code if this would be necessary. I would write the description the the ‘alt’ if necessary.
Can anybody give me a hint?
CU,
Philipp
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Using image title AND description insinde fancybox?’ is closed to new replies.