What is it?
FredGallery is Yet Another Simple PHP Image Gallery (YASPIG!). Once again, I couldn't find anything that did what I wanted, so I wrote my own.
Features
- Simple operation. Just put the files in your gallery directory and away you go. If you don't like the default options, change them!
- No databases, no messing about. Just make sub-directories, put images in them, and everything is done automatically.
- Fluid CSS layout! Instead of using tables for the thumbnail display, it uses CSS boxes, which means that your web browser SHOULD try and fit as many images per line as it can (tested with IE5/6 and Mozilla).
Requirements
- PHP and it's GD or GD2 module (tested on PHP 4.1.x, 4.2.x and 4.3.x)
Installation
- Unpack the archive somewhere:
tar zxvf FredGallery-x.y.z.tar.gz - Change to the FredGallery-x.y.z directory:
cd FredGallery-x.y.z - Copy *.php, *.css and *.png to your gallery directory.
- If you want to edit the options, change to your gallery dir and copy config.php to config.local.php. Change any options you want in the local file.
- In your gallery directory, make a 'thumbs' directory, and make it writable by the web server (either chown or chmod 777 it).
- Load it up and see if it works!