BizDesign ImageFolio
Home | User's Home | Report A Bug | List Your Site | Download Area | Documentation | Message Board
ImageFolio Batch Thumbnail Mod User's Guide


VERSION
: 1.0
LAST MODIFIED
: 04/01/2001

What is the Batch Thumbnail Mod?

The Batch Thumbnail Mod is an add-on module for ImageFolio (Any version) that automates the process of thumbnailing your gallery images. When called via a Web browser, this Mod will spider your entire ImageFolio gallery directory (recursively) and collect a list of images that do not already have thumbnails built. It will then thumbnail each of those large images and size them to the specifications you define in the configuration file, batch_config.pl. Each thumbnail image is named to suppport the file naming conventions required for ImageFolio use. One step is all it takes to make thumbnails for thousands of your images. No effort is involved.

The Batch Thumbnail Mod will thumbnail a maximum of about 33 file types, depending on your server. To be on the safe side, try to use JPEGs for your source files. The thumbnailing rate is about 5 images for every 1 second, or 200 seconds for 1000 images.

This product requires a free third-party Image Editor called ImageMagick. ImageMagick must be installed on your server before you can use this product. For more information about ImageMagick, please visit the ImageMagick website at http://www.imagemagick.org



Special Uses
There is currently only 1 built in special function but it is quite useful. Let's say you have a fairly large gallery of images and you just uploaded some new files to a new category in your gallery. You don't want the mod to go and thumbnail your entire gallery, but just this one directory and it's subdirectories if it has any. Well, just use a URL like so to the script:

http://www.yourdomain.com/cgi-bin/imageBatch.cgi?direct=GalleryName

or for a subdirectory use:

http://www.yourdomain.com/cgi-bin/imageBatch.cgi?direct=GalleryName/SubDirName
..wherein GalleryName is the actual name of one of your top level ImageFolio Galleries and the SubDirName is the subdirectory that you would like the spider to start at.




Installation Instructions
  1. Unzip your 'BatchThumbnail*.zip' file to a directory on your computer

    You should see the following files and directories:

    imageBatch.cgi - the script

    batch_config.pl - the configuration file

    README.txt - this file

  2. FTP (login) to your Web server.

  3. Upload imageBatch.cgi and batch_config.pl to the directory containing you imageFolio.cgi and config.pl files.

    Unix Users: Set permissions on imageBatch.cgi files to 755
    Make sure you transfer both files in ASCII TEXT mode!

  4. Using a text editor, open up imageBatch.cgi in a text editor (such as EditPlus, Notepad, or BBEdit, and change the path to Perl at the top to match that of your system, unless yours is '/usr/bin/perl'

  5. Using a text editor, open batch_config.pl and answer all of the questions. This is your configuration file and all variables regarding your server will need to be defined within this file.

  6. Save, then Upload all of the you modified, back to your server.

  7. Open your Web browser and type in the URL to 'imageBatch.cgi'. Done!
     

Extras

Note: You may also call this script through Telnet by typing,

'perl imageBatch.cgi'

while in the directory containing imageBatch.cgi.





© Copyright 1999-2002 BizDesign, Inc. All rights reserved.
BizDesign® is a registered trademark of BizDesign, Inc.
Permission to distribute, in any form, whole or part, is forbidden.

Home | Report A Bug | List Your Site | Download Area | Documentation | Message Board
Powered by ImageFolio