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"> <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.
| Comment | File | Size | Author |
|---|---|---|---|
| colorbox_issue.png | 103.1 KB | marktheshark |
Comments
Comment #1
lsolesen commentedHave 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.
Comment #2
marktheshark commentedI 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.
Comment #3
ianchak commentedI 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.
Comment #4
moloc commentedDo 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.
Comment #5
marktheshark commentedI was using the jquery update, indeed.
But would the opacity value cause the lightbox to close immediately?
Comment #6
ianchak commentedI 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?
Comment #6.0
ianchak commentedadditional info
Comment #7
moloc commentedPlease update jQuery Update module. This issue should now be fixed. See #1358244