PHP Thumbnail AutoIndex by Tomasz Sterna / smoku / WHAT IS IT? ----------- PHP Thumbnail AutoIndex is a thumbnail-index generation script designed to be a companion to mod_autoindex for Apache. It generates thumbnail "gallery" of images contained in a directory, which is much alike mod_autoindex generated indexes. 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 CONFIGURATION ------------- The only user-changable options are $font size, $DirectoriesFirst, $subDirs support, $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. OTHER NOTES ----------- If you have an great ideas or wanna help out, just drop a mail to the author. Tomasz Sterna LICENSING --------- This program and all associated files are released under the GNU Public License. Get a copy of GPL from http://www.fsf.org/.