I am using version 7.x-1.0-beta8+0-dev.

Gallery has been configured to show images in lightbox (Colorbox version 1.3.20 installed in sites/all/libraries).

Colorbox module has also been installed for rendering image fields in other content types.

The lightbox rendering does not work. Lightbox frame appears for a couple of seconds and then closes automatically. See also attached screen-shot.

For the record, Firebug shows the following html being returned when a thumbnail is pressed:

<div class="lightbox-stack"><div class="media-gallery-item"><div class="top"><div class="top-inset-1"><div class="top-inset-2"></div></div></div><div class="gallery-thumb-outer"><div class="gallery-thumb-inner"><a href="/media-gallery/detail/80/82"><img width="900" height="600" typeof="foaf:Image" src="http://salsaspring.localhost/sites/default/files/styles/media_gallery_large/public/images/gallery/athens_salsa_spring_festival_2011/salsa_spring_2011_09.jpg" alt="" /></a></div></div><div class="bottom"><div class="bottom-inset-1"><div class="bottom-inset-2"></div></div></div></div><div class="media-gallery-detail-info">&nbsp;<span class="media-license medium"></span></div></div>

The image path is the correct one. I see no errors or warnings in the Firebug console.

Thanks in advance.

CommentFileSizeAuthor
colorbox_issue.png103.1 KBmarktheshark

Comments

lsolesen’s picture

Status: Active » Closed (cannot reproduce)

Have you checked this issue? #1312948: jquery.colorbox-min.js error / after colorbox lib installation - colorbox does not load first image

This module does not work together with the colorbox module, please see #1053674: Integrate with colorbox module.

marktheshark’s picture

Status: Closed (cannot reproduce) » Active

I know that integration with the colorbox module is not currently working in the sense that media gallery will not use the configured styles in the colorbox module, not that the colorbox module would break media gallery.

However, it is not the same issue as the one you mention. In my case, no images are opened whatsoever.

ianchak’s picture

I got the exact same issue with 7.x-1.0-beta8. Lightbox frame appears with loading animation, the disappears..

Anyone have an idea how to fix this?

Edit: If i disable the following lines in the colorbox-display.js file it works, but obviously won't resize the lightbox to the image.

onComplete: function () {
          $(this).colorbox.resize();
        }
moloc’s picture

Do you use jquery update module?
There are some issues about jquery update, which does not show the content in lightbox, because opacity is set to a wrong value.

marktheshark’s picture

I was using the jquery update, indeed.

But would the opacity value cause the lightbox to close immediately?

ianchak’s picture

I disabled a JQuery Update module, and now it's working fine.

How can I fix this issue that I don't have to disable it?

ianchak’s picture

Issue summary: View changes

additional info

moloc’s picture

Issue summary: View changes
Status: Active » Fixed

Please update jQuery Update module. This issue should now be fixed. See #1358244

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.