make_tn - makes a web page of thumbnails for a given director(y|ies).
make_tn TITLE DIRECTORY [DIRECTORY [DIRECTORY]] make_tn 'My Title' ~/pics ~/pics2
make_tn is used to create thumbnail images and a web page to index them. The general steps:
- Creates an index.html file in the directory you're currently in, with the title of TITLE. - Looks through all of the files in the specified DIRECTORY/s to see if they're images. If no directories are specified, assumes that you want to look in the current directory. - Creates thumbnails for those files for which it's necessary ('*-tn.jpg' is the general nomenclature). - Writes the rest of the page out using on a table with the number of COLUMNS set in the configuration.
The middle two steps depend on the ImageMagick package.
Requires Perl 5 (and the included Pod::Text module), and the ImageMagick package to identify and convert image sizes.
Tim Skirvin <email@example.com>
Copyright 2001, Tim Skirvin and UIUC Board of Trustees.