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.
The ability to add a caption to each picture would be great!
PS: I couldn't resist trying out your module. Works great with FF and Safari so far!
Comments
Comment #1
Mark Theunissen CreditAttribution: Mark Theunissen commentedHi perandre,
I don't think I'll be adding caption functionality... because it's more of an issue with the parent Galleria plugin. I would just use photoshop or something like that to add captions to the images.
Cheers
Mark
Comment #2
perandre CreditAttribution: perandre commentedI thought the original jquery plugin already had this functionality. Like on the demo page:
http://devkick.com/lab/galleria/demo_01.htm#img/grass-blades.jpg
Comment #3
Mark Theunissen CreditAttribution: Mark Theunissen commentedAhh yes, you're 100% right! I think it's encoded as the image's Title.
Any suggestions for where to get the caption from? I could make it the filename, or add a CCK multi text field to the node and pull the titles from there.
Comment #4
perandre CreditAttribution: perandre commentedI suggest a text field; that would be a good solution for a non-technical user/customer. Great work!
Comment #5
Mark Theunissen CreditAttribution: Mark Theunissen commentedI've added the caption ability to the BETA1 release. Details on how to use are in the README.txt file, and on the project front page. Please test and let me know!
Thanks
Mark
Comment #6
Mark Theunissen CreditAttribution: Mark Theunissen commentedComment #7
perandre CreditAttribution: perandre commentedGreat, works like a charm!
It does, however, display a list of the captions by default; I'm not sure if that was intended. I display:none'd it away :)
Comment #8
Mark Theunissen CreditAttribution: Mark Theunissen commentedYou can turn off the captions in your CCK settings for the field. Just go to "Display fields" for the content type and choose "none" for both teaser and body!
Comment #9
perandre CreditAttribution: perandre commentedAh, sorry, I just assumed that would hide the main captions. Great! Superb!
Comment #11
Mark Theunissen CreditAttribution: Mark Theunissen commentedPlease note - in the latest Beta-2 the captions source is moved from the CCK field to the file's Description. See this issue:
http://drupal.org/node/356700
You will have to reconfigure your Gallerias if you want to upgrade. Apologies for the inconvenience but this is still beta code!