I decided to add lightbox2 to my gallery2 (2.1.1) installation. Want to see my example album ?
Here's how I managed to get it working:
First, you'll need to download the files at the bottom of this page. The files should be placed in the appropriate location on your webserver. I have *only* modified the matrix template, but looking through the code should provide hints on how to modify other themes. Remember, you can always diff myfile originalfile
Note:
- I had to turn joomla's cache feature off. Admin Panel -> Global Configuration -> Cache: Caching=No
- The path for the lightbox files is /(webroot)/gallery2/lightbox/, not /(webroot)/gallery2/lightbox/lightbox/
- I modified the original lightbox scripts to center and scale my pictures. You can always use the original
| Files | Location |
| lightbox.zip | /(webroot)/gallery2/lightbox/ |
| theme.inc | /(webroot)/gallery2/themes/matrix/ |
| album.tpl | /(webroot)/gallery2/themes/matrix/templates/ |
| theme.tpl | /(webroot)/gallery2/themes/matrix/templates/ |
| < Prev |
|---|


