$ gallery
****************************************************************************
* HTML Gallery Program Version 1.0 *
* Copyright (C) 2005 William Stein *
* Distributed under the terms of the GNU General Public License (GPL) *
****************************************************************************
Usage: gallery min_rating [+keyword] [-keyword] ...
---------------------------------------------------------------------------
Create an HTML gallery of photos with rating at least min_rating,
making use of any .txt files in the current directory for rating,
captioning, and style information. The photos are sorted by date/time.
The default photo rating is 0, so type 'gallery 0' to make
a gallery of all photos (except any you have rated negative).
If +keyword appears for any keyword, only photos whose caption
contains keyword will be included. You can include any number
of +keywords, to include only photos that contain *all* those words.
Likewise, -keyword only includes photos that do not contain keyword.
The keywords are not case sensitive.
EXAMPLES:
* Make gallery of all photos in current directory not rated negative.
gallery 0
* Create gallery of photos rated at least 2 that don't contain
the word Kelly but do contain William.
gallery 2 -kelly +william
RATINGS AND CAPTIONS:
The gallery program makes use of any file with extension .txt in the
current directory, parsing all of them in alphabetical order.
The format of a .txt file is a series of lines as follows:
property: value
image_name: rating caption
# a comment begins with # and will be ignored.
* image_name must be the file name of an image (or video) including
the extension, e.g., img_7430.jpg. The rating must be an integer,
and the caption text is any text that does not contain a colon.
The rating may be omitted, and the caption text may span multiple lines.
* The properties are: author, bgcolor, bordercolor, columns, date, email, mediu
m_quality, medium_size, textcolor, thumb_quality, thumb_size, title
The thumbnails, small versions of photos, HTML gallery, and exif info
are stored in hidden subdirectories .exif, .small, and .html.
---------------------------------------------------------------------------
|