Go Back to Dynamic Site Solutions :: JavaScript

Image Gallery Demo

This is one way to create an image gallery. This script works in Firefox, Netscape 6+, IE4+/Win, Opera 7+, Konqueror 3, Safari, and IE5/Mac. It would work better if all of the images had dimensions that were approximately the same. I decided not to crop them for now to demonstrate what happens when they are different orientations. You can use more than one set of images, however, I wish to demonstrate that by using one set, you don't need to make a set of thumbnail images, and also this way you don't need a script to preload the set of larger images.

Last update: 2006-06-19