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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Moloc’s picture

Status: Active » Postponed (maintainer needs more info)

Is 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

Tobbetobbe’s picture

The 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.

Moloc’s picture

Status: Postponed (maintainer needs more info) » Active

Thank 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.

Tobbetobbe’s picture

Ok, thank you for the answer. It is good to know. Still a problem of course.

Bernsch’s picture

Version: 7.x-1.0-beta8 » 7.x-1.0-beta7

I 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

Bernsch’s picture

Version: 7.x-1.0-beta7 » 7.x-1.0-beta8
Moloc’s picture

Version: 7.x-1.0-beta7 » 7.x-1.0-beta8

@Bernsch: Your issue does not seem to be related to this one. Please open a new issue.

Bernsch’s picture

Version: 7.x-1.0-beta8 » 7.x-1.0-beta7
Moloc’s picture

Status: Active » Needs work
FileSize
671 bytes

Until 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.

ivnish’s picture

Issue summary: View changes
Status: Needs work » Closed (outdated)