Lightbox, Gallery2 and Drupal integration
KayGee - September 27, 2007 - 23:15
| Project: | Lightbox2 |
| Version: | 5.x-2.0 |
| Component: | Miscellaneous |
| Category: | support request |
| Priority: | normal |
| Assigned: | stella |
| Status: | closed |
Jump to:
Description
Hi, I have managed to embed Gallery2 into my Drupal website, but I just can't seem to get Lightbox to work with the image thumbnails inside my albums. I can't figure out what's wrong, I'm totally stumped. Is Gallery2 being used in www.stellapowerdesign.net? Any help is appreciated. I'm currently developing on my home PC, so I can't provide a link. Thanks in advance

#1
No, I've customised the "Image Gallery" layout for www.stellapowerdesign.net. I'll take a look at the gallery2 stuff but I need to re-install it so it could be a while before I get back to you. However, if you could give me the following info, then I might be able to identify the problem earlier.
Cheers,
Stella
#2
Hi Stella, thank you for replying. This is really weird, I didn't change a thing except deactivate the Lightbox2 module and reactivate it and now it's working just like it should. I did realize one thing, although I could be wrong. Apparently, the theme being used in Gallery2 needs to be modified to work with the Lightbox script, so before everything else, Lightbox needs to be working in the standalone Gallery2 application. If it's working there, it should then work when embedded in Drupal. But, like I said, I could be wrong. Thanks again for the help.
Kirk
#3
Hi,
Can you provide more information on the theme changes you needed to make? This may help other users who encounter this problem, or there might be a way to do it in the module.
Cheers,
Stella
#4
Here are links that provide step-by-step instructions on how to modify the Gallery2 theme to work with Lightbox in the standalone version, that is, www.yoursite.com/gallery2/index.php :
http://codex.gallery2.org/Gallery2:Lightbox_JS_Tutorial
http://codex.gallery2.org/Gallery2:Modules:Lightbox
I have done it for my site, so if anyone has any problems, I might be able to provide some help. Hope this helps. Thanks.
Kirk
#5
#6
Automatically closed -- issue fixed for two weeks with no activity.