Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Captions don't show up in Lightbox2 images on my site, and it says in settings that this is "usually the title." I thought it might be the module "Exclude Node Title," so I turned it off, but captions still don't show up.
I'm displaying the pictures in a simple gallery using views (it shows the content as a grid and does not utilize fields). Are there any other things to typically troubleshoot with captions? I'm also assuming that the use of a field other than title to display captions is not yet supported? (as discussed Issue 2075515)
Thanks-
Comment | File | Size | Author |
---|---|---|---|
#3 | caption text.png | 21.07 KB | trumpetmercenary |
#3 | checkboxes.png | 22.15 KB | trumpetmercenary |
#3 | edit image field.png | 22.84 KB | trumpetmercenary |
Comments
Comment #2
trumpetmercenary CreditAttribution: trumpetmercenary commentedComment #3
trumpetmercenary CreditAttribution: trumpetmercenary commentedWow, thanks for the help everyone! /sarcasm
Anyway, I got it working now...for anyone else with this issue, you can get captions on Lightbox2 images in Drupal by:
1 - edit the "image" field for your content type by going to structure >> content types >> "manage fields" for your content type and then "edit" for whichever field is using image
2 - Make sure "enable ALT field" and Enable Title field" are checked (not sure how long those have been there and why I didn't see those before)
3 - when editing your content type and uploading the image, input text for "title."
And of course, make sure the "show captions" checkbox is checked in Lightbox2 settings (admin > config> user interface) but I think this is checked by default.
Now when clicking on your lightbox images you will see the text for title in the caption. See screenshots.