              ____________________________________________________                             
                ______             _    _   _____    _   _                                     
                  /      /         |   /    /    )   /  /| /                                   
              ---/------/__----__--|--/----/----/---/| /-|-----__-                                             
                /      /   ) /___) | /    /    /   / |/  |    (_ `             
              _/______/___/_(___ __|/____/____/___/__/___|___(__)_                             
 _________________________________________________________________________________
       ____                                __                                     
  /    /    )   /                          / |                /     ,           / 
 -----/____/---/__----__--_/_----__-------/__|---)__----__---/__-------------__---
     /        /   ) /   ) /    /   )     /   |  /   ) /   ' /   ) /   | /  /___)  
 ___/________/___/_(___/_(_ __(___/_____/____|_/_____(___ _/___/_/____|/__(___ ___

###################################################################################
# Photo Archive Copyright (c) 2014 J.Valentine www.thevdm.com.                    #
#                                                                                 #
# This script is issued free of charge without warranty.                          #
# 1) The relevant copyright information must be left intact.                      #
# 2) The script may be modified and redistributed as long as the download page    #
#    contains a link back to http://thevdm.com/Photo_Archive.html                 #
#                                                                                 #
###################################################################################
# Photo Archive by TheVDM is a simple image gallery script used for archiving     #
# large quantities of images on the web.                                          #
#                                                                                 #
# It is recommended that images uploaded are resized to an appropriate size e.g.  #
# 800x600 pixels to reduce load times as no compression is used for page loading  #
# as well as no thumbnail generation.                                             #
#                                                                                 #
# If you have found a problem within this script please contact me via email with #
# further details: jv [at] thevdm [dot] com                                       #
#                                                                                 #
###################################################################################
# Installation:                                                                   #
# 1) Upload the contents of the 'photo_archive' folder to the desired location on #
#    your web server preserving the folder structure.                             #
# 2) CHMOD the 'thumbs' directory to 0777 to allow write permissions.             #
#                                                                                 #
###################################################################################
# Usage:                                                                          #
# 1) Creating folders:                                                            #
#    Photo Archive will display any sub folders and images within the 'images'    #
#    folder. Simply connect to your webserver using your prefered method and      #
#    create folders within the 'images' folder to organise your photographs.      #
# 2) Uploading images:                                                            #
#    Photo Archive will display any sub folders and images within the 'images'    #
#    folder. Simply connect to your webserver using your prefered method and      #
#    upload images to the desired sub folder under the 'images' folder.           #
# 3) Including information:                                                       #
#    Photo Archive will display a colorbox link to any .txt files within the      #
#    'images' folder and it's sub folders. You may include a .txt file of any     #
#    name within each folder under the 'images' folder allowing you to keep       #
#    relevant information with each folder of images. Simply connect to your      #
#    webserver using your prefered method and upload a .txt file to the desired   #
#    sub folder under the 'images' folder.                                        #
#                                                                                 #
###################################################################################
# Uninstalling:                                                                   #
# In general you should be able to uninstall the script by deleting all the files #
# and folders via your FTP client. Under some circumstances the FTP user may not  #
# have the required permission to remove the contents of the 'thumbs' directory.  #
# If you do not have the correct permissions set there is two ways of emptying    #
# the folder.                                                                     #
# Method A)                                                                       #
#   1) Connect to your web server via SSH and locate the 'thumbs' directory.      #
#   2) Change to the root user by typeing 'sh', then entering the root password.  #
#   3) type 'rm -rf thumbs', this will remove the folder and all it's contents.   #
# Method B)                                                                       #
#   1) Upload the 'uninstall.php' file to the folder containing the 'thumbs'      #
#      directory                                                                  #
#   2) Open a web browser and navigate to www.yoursite.com/archive/uninstall.php  #
#   3) Click the confirmation link, this should delete the contents of the        #
#      directory but not the directory its self.                                  #
#   4) Returning to your FTP client, delete the 'thumbs' directory and the        #
#      uninstall.php file.                                                        #
#                                                                                 #
###################################################################################