The html_gallery8 Script
by Zachary X. Reiter and Clifford A. Reiter
October 2002

The image3 addon script, html_gallery8.ijs, contains functions used for creating web galleries of images in an automatic manner. Some utilities for organizing lists of images are also included.
Typical usage might be something like:

3 mk_html_gallery _320 _280 images_in '\pictures\2002_03\hike\'

which would create a gallery from the images (excluding thumbnails) in the indicated path with 3 columns and thumbnails with a maximal width of 320 and maximal height of 280. Since no output filename was specified, the html file would be named index.html in the same path as the first image.

File List Utilities

High Level Functions

The file list should be a boxed array of file names specifying the images for the gallery.

Thumbnail Bounds

The thumb_bound is typically a list of the maximal desired width and height of the thumbnail. The actual size of the thumbnail fits inside those bounds while preserving the original image's aspect ratio. Negative bounds indicate that if the thumbnail already exists and is of the correct size, it should not be recreated. A thumb_bound of 0 indicates that the thumbnails should not be created.

Lower Level Utilities

Here we describe a few of the lower level facilities offered by the script. See the lab and sample scripts for some illustrations of usage and see the script itself for some self documentation.

Flips and Rotations

While various flips and rotations for jpeg images were defined in the image3.ijs script, in this script several are defined so that other images may be manipulated as well.
Link to:
Image3 Main Help