After putting rel="lightbox" on a single image I am now getting ALL images on the same page (ie; node blog listing) showing up with the features of lightbox. Not sure if this is a feature or not. I DID NOT use the rel="lightbox[roadtrip]" grouping as stated in the readme. So I think this may be a bug. Although I am using drupal 4.7 beta 6. Maybe it's different on the release candidates.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | image_nodes.js | 424 bytes | bugz_nz |
Comments
Comment #1
bugz_nz commentedTry deselecting the "Enable for Image Nodes" option on the Lightbox2 settings page and let me know what happens.
Comment #2
creatorsdream commentedOkay I deselected the "Enable for Image Nodes" option and now a get the spinning mac gear, blackened screen for the image I had put the rel tag into, but that's it. The actual image does not show up at all. It's like it's stuck somewhere. The other images on the page though do work normally. So, the problem is not yet fixed. Any other suggestions?
Comment #3
bugz_nz commentedReplace the image_nodes.js file in the modules JS directory with the attached version and this will solve your particular requirements.
By design, the module will place all image nodes on a particular page into a gallery container, i.e., the phrase contained within the [ ].
I'll add an option to disable this in the next CVS release.
Comment #4
bugz_nz commentedAlso, re-select "Enable for Image Nodes" when you do this.
Comment #5
bugz_nz commentedLatest CVS solves this issue by adding a check box to enable automatic grouping of images.
http://ftp.osuosl.org/pub/drupal/files/projects/lightbox2-cvs.tar.gz
Comment #6
creatorsdream commentedThis is fantastic bugz_nz! Truly a wonderful addition to image display for drupal. Now I don't have to even worry about putting the rel tag into my images. My users are going to love you!
One concern though...
Seems that when I display a blog page (/node) with images, clicking the thumbnails does exactly what its suppose to do. However, when I go to the overal gallery page (/image) lightbox does not work. Also, if I go to the individual gallery page (/image/tid/103) lightbox still does not work. Seems that the standard navigation when clicking on the image is what happens. Strange that the news page (/node) works, but not the galleries (/image) page.
I only have Use Lightbox2 Plus and Enable for Image Nodes checked. Any suggestions on getting this to work on the /image Galleries?
btw, I'm still using drupal 4.7 beta 6...
Comment #7
bugz_nz commentedLatest CVS fixes this. I'd also recommend installing the latest image.module.
Comment #8
bugz_nz commentedComment #9
(not verified) commented