I'm using Colorbox to format images with Paragraphs (Paragraphs module) and everything works perfectly, except that I cannot find a way to display the image caption in the content display (before clicking the image to open in Colorbox).
The paragraphs structure is:
1) Image (multiple)
2) Long text
Since the image is not placed using the media module, I don't have the option to display a caption under it.
Adding a field to the colorbox would work if it were only one image, but I usually have three or four per paragraph. My only option has been to put all of the caption info together after (or before) all the images are displayed.
Is there any way to display a caption under each image (when there are multiple images) within a paragraph type?
Comments
Comment #2
Anonymous (not verified) CreditAttribution: Anonymous at Cheeky Monkey Media commentedThere is token support built into colorbox for this type of a situation.
If you install the token module, you can use it to place the long text field as the caption for all images in each paragraph item.
Comment #3
muranod CreditAttribution: muranod commented@rsmlski, Thanks - that's very helpful!
Comment #4
Anonymous (not verified) CreditAttribution: Anonymous at Cheeky Monkey Media commented