Get Certified with LPI!


A simple program to create an web page index of images  with "thumbnail" images.

Revision 1.2
Release Date: March 24, 2001
Language: python
Download: imgindex-1.2.tgz  or

Note that can also be downloaded alone, although I would encourage you to download it with the other information above.
Modifications Necessary: You may need to change the path to where python is located.
Usage: Once you are in the directory containing your images, you simply need to type the name of the program, perhaps preceded by "python" if you are on Windows. By default it will generate a file called "index.html" based on the JPEG images found in your current directory.

There are a variety of command-line options. View the README file for the most current information.
Description: This script was created out of frustration while using a Sony Mavica digital camera.   I wound up with all these floppies containing many files labeled simply MVC-001F.JPG, etc.  This script generates an index.html file (or whatever you name it), that puts all of the images in a 2-column table with the file name below the image. Clicking on the image will give you a larger version of the image.  Note that the script does not actually reduce the physical size of the image, it merely uses HEIGHT and WIDTH attributes in the <IMG> tag to instruct the browsers to display the images smaller.  It sets the default width to 320 pixels and default height to 240 based on the fact that the Mavica takes 640x480 images.  With another camera you may need to adjust the images using the command-line options.
Author: Dan York,
License: GNU Public License
Bugs: View the BUGS file for information about any outstanding bugs.

Note that imgindex replaces the earlier perl script jpgindex.

If you like this program, consider sending a postcard.

If you would like previous versions of the software for some reason, they are listed below, along with their release date:


Last modified: October 16, 2009