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.
Hi,
We are facing strange problem for lightbox 2 module. Lightbox2 replace links with non-existing preview image files.
Basically, it applies class "lightbox-processed" to each anchor tag. When I click on that link instead of redirecting that link it show me non-existing image preview on module window.
Let me know if any one what is the work around this.
Thanks,
Arif Mandra
Comments
Comment #1
andrewmacpherson CreditAttribution: andrewmacpherson commentedI've just noticed this too.
It happened after I enabled jQuery Update (version 6.x-2.x-dev, from April 24 2009).
I'm using Lightbox2 version 6.x-1.9.
A lightbox appears showing
/sites/all/modules/lightbox2/images/brokenimage.jpg
Comment #2
andrewmacpherson CreditAttribution: andrewmacpherson commentedI fixed my site by getting rid of jquery_update, although I had to do it a rather brutal way.
lightbox-processed class is being applied to all links, so you get the "broken" image in a lightbox for every link, including collapsed fieldsets on the module admin page.
Eventually I just by deleted the module directory, then re-saved the modules admin page. Back to normal, though it means I won't be able to use jquery 1.3 :-(
Comment #3
andrewmacpherson CreditAttribution: andrewmacpherson commentedThe issue has been noted for the jQuery Update module:
#446862: Conflict with Lightbox2 6.x-1.9
Comment #4
andrewmacpherson CreditAttribution: andrewmacpherson commentedIt turns out this was discussed much earlier in the Lightbox2 issue queue:
#411162: Problem with 'automatic image URL re-formatting' with jQuery 1.3.x
There's a patch there which does not appear to have been RTBC
Marking this as a duplicate of the earlier issue, and re-opening that one since it has more detail.
Comment #5
andrewmacpherson CreditAttribution: andrewmacpherson commentedIt seems this problem is fixed in the 6.x-1.x dev release, as of July.
I've upgraded my site, and can confirm that it is working with:
Drupal 6.14
Lightbox2 6.x-1.x-dev (23 Nov 2009)
jQuery Update 6.x-2.x (24 Apr 2009, which provides jQuery 1.3.2)
I also asked about the likelihood of a new stable release for Lightbox2, in the other issue.
Comment #6
arif_mandra CreditAttribution: arif_mandra commentedHi,
Once after revert back to Jquery version, Lightbox2 is working fine for me.
Right now, I am testing with Lightbox2 6.x-1.x-dev version with Updated Jquery(1.3.2).
It seems it's working fine for me. Let me know if any one facing problem with dev version.
Thanks & Regards,
Arif MAndra