EasyThumbs is a PHP script that takes the thumbnails of a whole directory, and creates a table out of them. You can define how many cells you want that table to have and you can also make the script display the images with a link back to the thumbnails. The advantage is that you can add/remove images without having to change the code at all.