############################################################
# ThumbGallery 1.0
# 11/08/05
# http://so-you.net
# linkware
# Do not edit this script and redistribute
# This script should only be downloaded from so-you.net
############################################################
README.txt
############################################################

ThumbGallery is a very simple script that displays the thumbnails of a directory and links them with an
autosize popup javascript to the main image.

# Does not create the thumbnails
# Allows the user to add a simple code to configure the directory where the images and thumbnails are stored
# The script automatically searches these directories and displays the thumbnails with the main images linked
# Very good for lots of images, saves writing all the HTML
# Used for displaying my stills galleries for music videos found here
    http://so-you.net/home/index.php?go=goodies


############################################################
INSTRUCTIONS
############################################################

1)  Upload gallery.php


2) On the page you wish to display your gallery, add the following to include the gallery file

   <?php include "/home/username/scripts/gallery.php">
   
   change /home/username/php/gallery.php to the absolute path of where gallery.php is stored
   
3) Ok for this script to work, your images and thumbnails must be named the same, although they can be 
    different types of images.  For example if you have a main image called 1.jpg, the thumb must also be
    called 1 but can be called 1.png, etc.  Do not create each thumbnail, use a program like HiTech Thumbnail 
    Maker found at

    http://www.hitech-soft.com/htm/index.html

    I always make a main image directory, for example called Britney, then inside that directory add another
    directory called thumb with the thumbnails.
   

4)  Exactly where you want your gallery to appear add the following code


    <? gallery("image directory", "thumb directory", "popup title");?>
    
    Where it says image directory, put the path to where the larger, main images are stored
    Where it says thumb directory, put the path to where the thumbnails are stored
    Where it says popup title, put in the text you would like to appear as the title of your popups
    
    Example
    
    <? gallery("you/video/Britney", "you/video/Britney/thumb", "Britney - Someday");?>
    
    http://so-you.net/home/you/video/test.php
    
5) You can add many to one page, aslong as you have the code in step 2 somewhere on your page, you can
    just keep adding the code in step 4 as many times as you like for many galleries.
    

############################################################
FINAL NOTE
############################################################

I am not a php expert so I am sorry if you do find bugs, I find it all working fine on 
my site (http://so-you.net) but if there are any bugs please do let me know

char@so-you.net

I will be willing to update the script.

If you like this script a link somewhere would be nice.

Thank you!

Char x