Caption not showing up
-
I think I’m doing this right, but my captions are not showing up. I’m running a loop to get new images and if there’s a caption, output it as the title attribute for the image.
When rolling over the thumbnails, you can see that the titles are being outputted correctly, but when the lightbox gallery comes up none of the captions show up.
Its not a CSS issue as looking at the HTML for the page, the caption span never gets populated. This comes up for everything:
<span id="caption" style="display: inline;"></span>
No JS errors in the console. Shouldn’t you just have to add a title attribute to the image for teh caption to show up?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Caption not showing up’ is closed to new replies.