ImajSite

Table of Contents


What is ImajSite?

ImajSite is a set of utilities that facilitate the creation of a categorically indexed image database which can be viewed locally or remotely (through a web site) with any HTML browser. The utilities will run under Microsoft Windows 95/98 (and probably Windows NT).

ImajSite generates an HTML database. It does not generate thumbnails or otherwise edit graphical image files. To do that, you should use an application such as ThumbsPlus (Cerious Software, Inc.) or Paint Shop Pro (Jasc Software).

Input

The input to this system consists of a number of image files (JPEG or GIF) along with optional text files containing descriptive text for each image. If you have a large number of files, you may arrange the files into subdirectories, beginning with a starting directory (which is where you will start your browser), and any number of subdirectories off the starting directory.

Each directory may contain image files, optional text files for each image, HTML files, and subdirectories. The optional text files should have the same base name as their corresponding image files. The table below summarizes the different types of files that may appear in each subdirectory:

File TypeFile Name or
Extension(s)
ExamplesNotes
 Image files  .gif, .jpg, .jpeg  image1.jpg, image2.gif, image3.jpg, image4.gif  Optional
 Text files  .txt  image1.txt, image2.txt, image3.txt, image4.txt  Optional, for each image file
 HTML files  .htm, .html  htmlfile1.htm, htmlfile2.htm  Optional
 Subdirectories  (any)  subdirectory1, subdirectory2  Optional
 Build script  makeindx.bat  makeindx.bat  Required

The build script is required for each directory. When this batch file is executed, the entire directory will be "built", creating the output described below. You can easily build the entire directory by simply double-clicking on the "makeindx.bat" file from an Explorer window. You can make changes to the contents of the directory at any time, and then simply rebuild it to update the output files.

Output

The output from this system is a linked set of HTML files that can be viewed using any web browser. A master index will contain the list of categories, and each category will contain an index of the images that belong in that category. The images may be viewed directly from the index that contains them, or sequentially in a specified order (using "next" and "previous" buttons above each image). Images may be grouped into sets, and each image or set may appear in the index of more than one category.

Images and sets may have titles and text descriptions which appear in the parent index(s) for those images/sets. Sets may have thumbnail images associated with them which appear in the parent index(s).

Each directory in the system will have the following basic format (arrows show HTML links):

index.htmthumb.jpg

image1.htmimage1.jpg
image2.htmimage2.gif
image3.htmimage3.jpg
image4.htmimage4.gif ...

htmlfile1.htm
htmlfile2.htm ...

subdirectory1 \ index.htm
subdirectory2 \ index.htm ...

All files are optional, and names can be different (except for index.htm). The files shown in bold above are generated automatically.


Features and Advantages

This system has several advantages over other image database systems:


Copyright © 1996-1999 Christopher P. LaRosa. All Rights Reserverd.