HTMLThumbnail creates index pages of the graphic file content of directories on Unix based web servers. It generates real thumbnail images (not just mis-sizing the images) that are typically around 1-2% of the byte count of the originals (thus letting you see them 50 - 100 times as fast). It works with both JPEG and GIF images, supports 'incremental change' updating to allow easy adding of new images (or modifying of old ones) without wasting a lot of time regenerating the index for every image. It also supports optional linking to the original images, drop shadows, rotation of the final icon, and image borders. Essentially all setting are command line adjustable.

Three examples of such a graphical index are available: Example #1 / Example #2 / Example #3

You can get the script here as well.