Adding lightbox to Gallery2

Thursday, 15 February 2007 23:34 Robert Chavers
E-mail Print PDF

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:

 



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/


Last Updated on Thursday, 10 January 2008 11:58