Thumbnail AutoIndex 2.0 review

Download
by rbytes.net on

Thumbnail AutoIndex is a thumbnail index generation script designed to be a companion to mod_autoindex for Apache

License: GPL (GNU General Public License)
File size: 5K
Developer: Tomasz Sterna
0 stars award from rbytes.net

Thumbnail AutoIndex is a thumbnail index generation script designed to be a companion to mod_autoindex for Apache. Thumbnail AutoIndex script generates a thumbnail index of images contained in a directory that is much like mod_autoindex generated indexes.

What's New in This Release:
fixed PHP5 MIME detection
fixed PHP5 If-Modified-Since handling
Etag support
fixed script real path detection
cosmetics

Requirements:
libGD
libGD 2 seriously recommended!
PHP 4.3+ (mod_php)
GD support
mime.magic support

Installation:

QUICK:

Rename thautoindex.php to index.php and place in a directory alongside images.

BETTER:

Put thautoindex.php in something like /home/http/tools and do:

ln -s /home/http/tools/thautoindex.php ~/public_html/gallery/index.php

SUBDIRS SUPPORT:

Rename thautoindex.php to index.php, place it in your gallery-root directory and execute:

cd gallery/root/dir
find * -type d -exec ln -s `pwd`/index.php {}/index.php ;

Configuration:

The only user-changable options are $font size, $DirectoriesFirst, $OpenNewWin and $cacheDir options at the begining of the script.
You may set-up $cacheDir in /tmp or your $HOME subdir.
You may change the name of the $headerfile and/or $readmefile, but I suggest not to.
If $headerfile (default 'HEADER.html') exists, it is included at the beginning of the page as a header.
If $readmefile (default 'README.html') exists, it is included at the end of the image index as a comment.

Known issues:

Server-side thumbnail storage.
The whole idea of the script is to work ouf-of-the-box, without any complicated setup. So the $cacheDir is set to server /tmp dir.
If you disable server-side cache the script tries to utilize web caches and browser cache. Setting $OpenNewWin to 'true' may also help.

What's New in This Release:
Subdirectory support and thumbnail size setting.
This release fixes URL handling, PHP 5 MIME detection, and an include() security issue.

Thumbnail AutoIndex 2.0 search tags