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.
I use Colorbox 7.x-1.3 with media gallery. When creating a gallery, under presentation settings, if the user selects "show media in a lightbox" and "Show title and description" the title is displayed but not the description.
Comments
Comment #1
Moloc CreditAttribution: Moloc commentedIs the description field enabled in your file display settings for lightbox?
admin/config/media/file-types -> manage display (on your specific file type - like image) -> Gallery lightbox
Comment #2
Tobbetobbe CreditAttribution: Tobbetobbe commentedThe description field is enabled. Here are some screenshots of the settings and the image in a lightbox with no description showing. Also the image on a gallery details page with the description showing.
Comment #3
Moloc CreditAttribution: Moloc commentedThank you for the images. I can see the problem on your website.
It seem to be a Chrome & Safari (for Windows) issue (IE, FF and Opera works fine). They break the floating Description field under the image to the left side (out of colorbox). Therefore this cannot be seen.
Comment #4
Tobbetobbe CreditAttribution: Tobbetobbe commentedOk, thank you for the answer. It is good to know. Still a problem of course.
Comment #5
Bernsch CreditAttribution: Bernsch commentedI can confirm the problem:
When i enable the checkbox "show title and description" in my gallery settings, the images dosent open in colorbox.
ok, although the box is opened but can not see the image!
If I disable it - images open in colorbox as provided.
I test it with this modules:
test it with IE, firefox, chrome, safari
Comment #6
Bernsch CreditAttribution: Bernsch commentedComment #7
Moloc CreditAttribution: Moloc commented@Bernsch: Your issue does not seem to be related to this one. Please open a new issue.
Comment #8
Bernsch CreditAttribution: Bernsch commentedSorry, here is the new issueslink:
#1676266: Show title and description - Colorbox doesen't works
Comment #9
Moloc CreditAttribution: Moloc commentedUntil we find a proper solution, i attach a workaround, which solves the rendering bug(?).
After colorbox has set the width of the lightbox, the patch overrides the padding value to zero and afterwards removes the overridden value. Therefore the content is rendered again and seems to place the floated elements as expected.
Comment #10
ivnish CreditAttribution: ivnish commented