Closed (fixed)
Project:
Lightbox2
Version:
5.x-2.0
Component:
Code
Priority:
Critical
Category:
Support request
Assigned:
Reporter:
Created:
30 Sep 2007 at 14:25 UTC
Updated:
25 Oct 2007 at 08:51 UTC
Jump to comment: Most recent file
1) The new jquery version of this does not seem to pay attention to
rel="lightbox[6121755]"
and so browsing through groups of images does not work!
2) Besides, the jquery version does not allow opening full-size images (that was a nifty feature in the previous version!)
3) Also, the image opening is no longer animated like before - that was one of the nicest features of Lightbox vs Thickbox, IMO.
Will these features be re-introduced in the jquery version, and when?
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | errorconsole.txt | 56.06 KB | solimeno |
| #3 | lightboxv2_failure.jpg | 69.64 KB | vacilando |
Comments
Comment #1
trogie commentedDid you check the new settings in 'eng/admin/settings/lightbox2'? Seems like you might have 'Lightbox Lite' enabled.
Trogie
Comment #2
vacilando commentedThanks for the suggestion, Trogie. I have checked and indeed, the Lite flavour was active. So I unchecked it but then Lightbox V2 stopped to work completely. See attached image on what I was getting at http://quidne.vacilando.org/ . I had to switch to Thickbox until this issue is solved.
Tomas
Comment #3
vacilando commentedsorry - here's the attachment
Comment #4
stella commentedHave you installed the jQuery Update module? And have you installed it correctly (it requires you to replace the core jquery.js with its version)? The latest version of the lightbox2 module no longer uses the prototype/scriptaculous files you had to download separately before (you can actually remove these files if you want). Instead it now uses jQuery which is now part of Drupal core. However, the version in core isn't that recent, so for now there is a dependency on the jQuery Update module.
If you've done the above and it's still not working, could you send me the generated source code and any errors that appear in Firefox's Error Console (under Tools menu)? Does the problem affect both Firefox and IE browsers?
Cheers,
Stella
Comment #5
solimeno commentedI'm having the same issue in my installation. I did install the jquery update module, and copied the supplied jquery.js file as directed, but lightbox still doesn't work after upgrading to this version of the module while it had been working with the previous version. Also, Lightbox2 Lite is disabled.
Starting from the "Home" node on my drupal site and navigating to the image galleries produces the following output in the Firefox (v. 2.0.0.7) error console:
Bob
Comment #6
solimeno commentedI'm having the same issue in my installation. I did install the jquery update module, and copied the supplied jquery.js file as directed, but lightbox still doesn't work after upgrading to this version of the module while it had been working with the previous version. Also, Lightbox2 Lite is disabled.
Starting from the "Home" node on my drupal site and navigating to the image galleries produces the following output in the Firefox (v. 2.0.0.7) error console: see attached file.
(apparently the original post was to lengthy and I resorted to attaching the output - sorry)
Bob
Comment #7
stella commentedWell from looking at the attached file, it looks like your "sites/all/modules/lightbox2/js/lightbox.js" is still the old version. I've double-checked the release tarball and it definitely contains the new version of the javascript file. You should check that this file has been updated. You can do this by ensuring that the first lines of the file contain the phase "jQuery Lightbox". If not, you haven't correctly installed the new lightbox2 release. If they are, it's probably a cache issue. Try clearing your cache. If that fails, I find it sometimes helps to open the js file directly in your browser and refresh it there before reloading your site.
Cheers,
Stella
Comment #8
stella commentedOh and you have a similar problem with image_nodes_galleries.js - it's still on the older version.
Comment #9
solimeno commentedYep - it was a cache issue. The lightbox2.js file was indeed the new version with "jQuery Lightbox" - once I cleared the cache it all worked fine.
Thank you for the quick response - and of course for Lightbox - it is so cool!
Bob
Comment #10
stella commentedComment #11
vacilando commentedWorks for me now, too. The reason was that I also had the jlightbox module installed and enabled. Once I disabled it, this module started to work perfectly.
Comment #12
stella commentedYes there could be conflicts with the jLightbox module as both modules do something quite similar.
Cheers,
Stella
Comment #13
(not verified) commented