GIS 1.21 on Win32 HOWTO by Gustaf "SirXerxes" Folin 1. Introduction and Credits 2. Preparation (getting GD 2 to work with PHP) 3. Installation --- 1. Introduction and Credits --- Gussoh ImageSystem (GIS) 1.25 is a php script that automatically creates thumbnails out of JPEG and PNG files and set up a gallery index for them. It uses PHP with the GD extension. Written by: Gussoh (Gustav Sohtell) Co-developed by: fredrik (Fredrik Poller) --- 2. Preparation (getting GD 2 to work with PHP) --- Download and install a good webserver, i recommend Apache 1.3.27 (2.*.* is unstable on windows) which can be found here: http://www.apache.org/ Then download and install PHP 4.3.0 from here: http://www.php.net/ In your php.ini files change the line: ;extension=php_gd2.dll to: extension=php_gd2.dll Make sure the extension_dir value is set to your extensions path, i e: extension_dir = "c:\php\extensions\" Now you are ready do install GIS. --- 3. Installation --- Download GIS 1.21 at: http://gussoh.cjb.net/imagesystem/files/gis12.zip Now unzip the file in a folder in your web root. In linux, you can create a directory with a name that begins with "." and make it hidden. In Windows that's impossible. So you can either: Method 1 (the quick and easy way) --- Copy the following files to your webroot: avi.gif folder.gif folderup.gif gificon.gif wmvicon.gif default.css Then change the following values in index.php to: $systemfolder = ".."; $foldericon = "../folder.gif"; $folderupicon = "../folderup.gif"; $aviicon = "../avi.gif"; $wmvicon = "../wmvicon.gif"; $gificon = "../gificon.gif"; Now it's ready. Method 2 (if you don't want your icons and stuff laying around in your webroot) --- Create a directory in your GIS directory, i e sys and change the following values in index.php to: $systemfolder = "sys"; $foldericon = "sys/folder.gif"; $folderupicon = "sys/folderup.gif"; $aviicon = "sys/avi.gif"; $wmvicon = "sys/wmvicon.gif"; $gificon = "sys/gificon.gif"; Copy the following files to your new directory: avi.gif folder.gif folderup.gif gificon.gif wmvicon.gif default.css Now it works, but you can see your new directory when you run GIS, now we could change the code a little. Search for the line: if(substr($image, 0, 1) != "." || $show_hidden_folders) { and change to: if($image != $systemfolder) { If you want, you can delete this line: $show_hidden_folders = false; /* If you want to show folders starting with '.' */ Ready