There is a PHP script out there that does it automatically, i`ll find it out and send it to you. Very simple to use. You select a directory, it them displays all the images as thumbnails, and when you select an image a pop window appears with the full image in it.
I`ll send it soon.
Jules@hungrybear.co.uk