.TH thumbnail_index 1 "28 Jan 1996" .SH NAME thumbnail_index - make an HTML index file for a bunch of images .SH SYNOPSIS .B thumbnail_index .RB [ -r ] .RB [ -s .IR size ] .RB [ -c .IR cols ] .RB [ -i .IR indexname ] .SH DESCRIPTION .PP Run this script in a web directory consisting of all or mostly image files. It'll create an index.html of thumbnail images, putting the thumbnail files in a hidden subdirectory. .PP It avoids unnecessary work by comparing the dates on already existing thumbnail files and not re-creating them if the corresponding original has not changed. .PP It also refuses to overwrite an index.html file not created by this script. .SH OPTIONS .TP .B -r Recursively makes index files for all subdirectories. .TP -s Specifies the size of the thumbnail image. Default is 70 pixels. If you want to re-do an already indexed directory but use different size thumbnails, you have to remove the old thumbnails. An "rm -rf .thumbnails" should suffice. .TP .B -c Specifies how many columns of images. Default is 5. .TP .B -i Specifies the filename of the index file. Default is index.html (some sites use .index.html instead). .SH "SEE ALSO" thumbnail_reap .SH AUTHOR (C) 1995,1996 by Jef Poskanzer . All rights reserved. .\" Redistribution and use in source and binary forms, with or without .\" modification, are permitted provided that the following conditions .\" are met: .\" 1. Redistributions of source code must retain the above copyright .\" notice, this list of conditions and the following disclaimer. .\" 2. Redistributions in binary form must reproduce the above copyright .\" notice, this list of conditions and the following disclaimer in the .\" documentation and/or other materials provided with the distribution. .\" .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE .\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE.