coding...and other random stuff.

The home of Bingo Caller and other quality low cost/free software!

Home
Bingo Caller
AnteUp!
Screen Shots
PHP Scripts
Support
Forum
Links
 
Donate
 
Mailing List
 

PHP Scripts

phpSimpleGallery - Freeware

Version 2.1.1 - released 18th March 2005 - View Changes - Download Now

phpSimpleGallery is a PHP based gallery script that will generate a navigable picture gallery from a directory of images, and includes features such as templates, descriptions, albums, bmp support, caching, and more!

This script is based on a script created by ricocheting.com, and can be found here: http://www.ricocheting.com/perl/gallery.html

Features:

  • Generates thumbnail images on the fly - can place borders around images to ensure uniform width/height. Border colour is definable in script.
  • Template file can define how the gallery integrates with your site. Just add the special html tags to your pages where you want the gallery/buttons/etc to be.
  • Sub albums - Just add extra directories of images and phpSimpleGallery will automatically sort them into an album structure for you!
  • Comments can be added to the images. Simply upload a text file, named the same as your image (just add .txt to the end) with a line of text, and this will appear as a comment below the thumbnail.
  • Supports thumbnail creation for bmp files
  • Caches thumbnails and only re-generates them when needed, reducing load on your server.
  • Can run 'out of the box' assuming you are running PHP 4.3 and above and GD/ImageMagick
  • Easy image management - just upload the image files you want in your gallery via FTP, etc.

Demo:

See it in action on my screenshot page for Bingo Caller.

If you are running phpSimpleGallery, please let me know and I'll add you to the Demo list.

Instructions:

Get full setup details on my Support page.

Download:

Download the script here.

If you like our script, please rate it!

Changes in this version:

Version 2.1.1:
Bug fix: Fixed the sort order code that broke in 2.1!
Version 2.1:
New feature: Automatic thumbnail deletion. phpSimpleGallery will now automatically remove thumbnails for images that no longer exist.
Bug fix: Changed some coding that was causing undefined variable errors, and other issues in the PHP error log

Important info:

GIF support is built into phpSimpleGallery, but you need PHP 4.3.9 (or above) to allow you to actually write the GIF's to disk. This is due to patents that existed on the compression algorithms used by the GIF format, that only expired this year.
GIF support will not be worked around for versions prior to 4.3.9 due to the large uptake in this (and higher) PHP versions (security issues).

Plans for the future:

Support nested albums (subfolders within subfolders)

Deprecate ImageMagick support as from next minor version - I don't have time (or resources) to test ImageMagick code. This has basically been unotouched since it was ported from Ricocheting.com's gallery.

If you'd like to stay up to date with version releases, why not join my mailing list?
It's only used to send subscribers notification of changes/updates - there is no spam/selling of addresses.

© Craig Atkins - 2004