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.
Gallery seems to work fine, thmbs are correctly created and displayed inside the page, but if i enable lightbox i click on the image , the screen becames grey ando no picture, if i click on the link with image the image apear in light box after som screen fliker. any ideas?
if you want you can take a look on this work in progress place: http://portale.nauticapezzotti.it/gallery-collections/immagini-del-lago-...
thanks for any replay
Comment | File | Size | Author |
---|---|---|---|
ex-media-gallery.jpg | 12.79 KB | veneficus |
Comments
Comment #1
Moloc CreditAttribution: Moloc commentedI have done some tests.
You are using the newest colorbox library v1.3.18 --> This works fine on my machine.
You seem to use the jQuery Update module, using CDN: Google with v1.5.2 --> Then i have the same issue, as you describe it. (CSS Property opacity is set to 0 instead of 1 on div#colorbox.)
Do you need jQuery Update? Try disabling it. Does it work now?
Comment #2
veneficus CreditAttribution: veneficus commentedDear moloc, you are my hero :) that worked form me. but not just disabling module in fact i did:
1) disabled jquery update
2) uninstalled it
3) clear cache twice, then lightbox worked!
thanks really a lot
Comment #3
Moloc CreditAttribution: Moloc commentedI have done some more tests:
jQuery v1.6.1 -> FAIL
jQuery v1.6.4 -> works again
jQuery v1.7.1 -> works again
Therefore it seems, that this is an jQuery issue. So wait for the next "jQuery update" module update, and this error should be gone.
Comment #4
veneficus CreditAttribution: veneficus commentedOk i will follow your suggestion. thanks again for your help..
Comment #6
pianomansam CreditAttribution: pianomansam commentedIssue still exists in beta8. Upgrading priority to major as jQuery Update is an important module to be compatible with. For those of you who, like me, cannot simply disable jQuery Update, a CSS based solution is to use the following style rule in your theme or custom module:
Comment #7
Moloc CreditAttribution: Moloc commentedAs stated in #3, this is a jQuery issue, which is fixed in newer versions.
Tested again the jQuery update module using the newest version 7.x-2.4 with jQuery 1.10.x. Works fine. So please update jQuery Update and the issue should be solved.
Comment #8
pianomansam CreditAttribution: pianomansam commented@Moloc, not everyone can simply upgrade to jQuery 1.10.x so requiring that is not an acceptable solution.
Comment #9
Moloc CreditAttribution: Moloc commentedI did some more tests...
Drupal core 7.34
Chaos tool suite (ctools) 7.x-1.5
jQuery Update 7.x-2.4
Media 7.x-1.4
Media Gallery 7.x-1.0-beta8+12-dev (2014-Nov-23)
Multiple forms 7.x-1.1
Using colorbox 1.5.14
jQuery 1.4.4 --> OK (using Drupal default)
jQuery 1.5.1/2 --> OK (using jQuery Update module) Note: jQuery Update assumes 1.5.2, but 1.5.1 is shipped.
jQuery 1.7.1 --> OK (using jQuery Update module)
jQuery 1.8.2 --> OK (using JQuery Update module)
jQuery 1.9.1 --> OK (using jQuery Update module)
jQuery 1.10.2 --> OK (using jQuery Update module)
Using colorbox 1.4.37
jQuery 1.5.1 --> OK (using jQuery Update module)
jQuery 1.7.1 --> OK (using jQuery Update module)
jQuery 1.8.2 --> OK (using JQuery Update module)
jQuery 1.9.1 --> OK (using jQuery Update module)
jQuery 1.10.2 --> OK (using jQuery Update module)
Using colorbox 1.3.34
jQuery 1.4.4 --> OK (using Drupal default)
jQuery 1.5.1/2 --> Failed (using jQuery Update module)
jQuery 1.7.1 --> OK (using jQuery Update module)
jQuery 1.8.2 --> OK (using JQuery Update module)
jQuery 1.9.1 --> OK (using jQuery Update module)
jQuery 1.10.2 --> OK (using jQuery Update module)
So there seems to be a incompatibility between colorbox 1.3.x and jQuery 1.5.x
As this incompatibility has nothing to do with the media_gallery version, we cannot fix it in media_gallery.
So if you are not able to update the module jQuery Update or the colorbox library, then you have to use your provided workaround. As this issue can be solved with an update of one of those two libraries, i don't like to see this workaround in the media_gallery code.
Comment #10
ivnish CreditAttribution: ivnish commented