Thursday, October 12, 2006

Lightbox 2.0 Web Photo Gallery(part2)

Due to popular demand, I have extended the Lightbox Web Photo Gallery tutorial with instructions on adapting it to work with Lightbox 2.0. Since this is a continuation, I highly suggest reading the original tutorial, otherwise you'll probably be a bit lost.

Quick Guide

Start by duplicating the "Simple" preset folder (or the "Lightbox" folder if you created one already) in your Presets > Web Photo Gallery folder. Rename the duplicated folder to "Lightbox 2.0" and create a folder within that called "images". Visit the Lightbox JS v2.0 website and download the necessary files. Drag the supporting Lightbox 2.0 images, stylesheets and javascript files (from your download) into the "images" folder.

lightbox1

Open the Thumbnail.htm file, located in the "Lightbox 2.0" folder, in your favorite HTML or text editor. Set the anchor tag to:


Open the lightbox.js file, now located in the "images" folder. Find line (approximately) 331 where it says

And add/change that line to:

Then find line (approximately) 343 where it says:

And add/change to:

A little below that, you'll want to find:

And change it to:

Save your edited javascript.js file. Run your new Web Photo Gallery through Photoshop.

0 Comments:

Post a Comment

<< Home