Fancybox with inline content displays title of wrapped image
-
Hello!
I’m using the following code to provide an image that can be clicked, in order to open a popup window with inline content:
<span title="Lorem Ipsum"><a class="fancybox-inline" href="#info"><img id="gamma" class="alignleft" src="https://example.com/image.jpg" alt="Foobar" /></a></span>
This used to work fine in the past, however one of the plugin updates must have broken this mechanism. Now the fancybox displays the image’s alt tag as its caption. The caption is centered on the bottom of the popup window. I don’t want this caption to show there.
Why does the fancybox use the “alt” tag of the image, though it is a nested element and I did not define the “alt” tag on the “a” element?
However, for normal images that open in a fancybox, I still want the “alt” tag to be used as a caption.
Can anybody help me with this? It used to work properly in the past.
Regards,
Acton
- The topic ‘Fancybox with inline content displays title of wrapped image’ is closed to new replies.