Closed (fixed)
Project:
Lightbox2
Version:
5.x-1.0-1
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
2 May 2007 at 15:57 UTC
Updated:
10 May 2007 at 08:44 UTC
I've installed the latest version of lightbox5.x-1.0-1 and copied the files from scriptaculous-drupal.zip to a clean installed drupal5.1
I'm trying to get the lightbox working together with the "image galleries". Something like when I click on the thumbnail, the lightbox will appear instead of the node page. I couldn't get it working even though the options under "Site Configuration" are all enabled.
Why lightbox still doesn't work with image galleries? Can somebody help me out?
Comments
Comment #1
stella commentedcan you provide me with a URL to your site? Or can you tell me by looking at the html source what the class names are for the images in your gallery?
Cheers,
Stella
Comment #2
seakayjay commentedActually i tested it on my local machine. It's not available on the internet yet. Below are the codes for the gallery:
FYI, I'm testing it on Apache 2.2.3/MySQL 5.0/PHP5.2.1
Comment #3
stella commentedChange line 8 on lightbox2/js/image_nodes.js and lightbox2/js/image_nodes_nogroup.js from
if (Element.hasClassName(nodes[i], "image-thumbnail")) {toif (Element.hasClassName(nodes[i], "thumbnail")) {Stella
Comment #4
seakayjay commentedThank you. it works. =)
Comment #5
stella commentedShould be fixed in lightbox2 5.x-1.1.
Cheers,
Stella
Comment #6
stella commented