Technical Thursday: Creating a Simple Photo Gallery

This week’s Technical Thursday post comes via another blog post I found about how to automatically generate a photo gallery from a directory of images.
The tutorial guides you through all the processes you need to create the gallery and it also includes the files. Learning how to do this is a great springboard into developing your own way to sell your pictures directly on your website.
From the article:
Creating a Photo Gallery isn’t such a hard task. My favorite way to present photos is simply a grid of thumbnails that people may pick and choose from as they see ones that interest them. Clicking on a thumbnail brings up a larger version. Could be a direct link to the larger photo or something fancier like a modal box. If you are creating a fairly small gallery, hand coding this grid of thumbnails is probably fine, but if you are creating a fairly large gallery or you anticipate doing a lot of adding/editing/swapping of photos, you may want to consider a better solution. And that solution is…. An automatically generating photo gallery!
When I say “Auto Generating”, I don’t mean that that it takes the pictures for you. This gallery won’t even create the thumbnails for you. What it DOES, is build itself dynamically from your directory of images. So when you want to add new photos, you simply drop the new photo and thumbnail in the directory and you are done! Removing photos just means removing the photos from the image directory. We use PHP for this web wizardry.
Check out a Demo of it here.
Read the whole Tutorial on Creating a Photo Gallery here.

