Show: Search - Categories - Posts

Posted on Wednesday the 24th of October 2007 at 3:41 PM
Good news! I'm releasing something!


Download it

Example gallery located here

A long time ago, when I knew little about PHP and was in the process of learning it, I wanted a gallery for the photographs I had uploaded on my site. However, I linked to my photographs on several sites and didn't want to have to move them in order to make a gallery. So I searched for a gallery that would let me keep my photos in their directory and I found nothing. So, why not trying making my own?

Even though I knew little about PHP I still somehow managed to make something. It wasn't very great but I released it to the public anyway for anyone who would want a gallery like it. This first version had many bugs and wasn't very expandable. So, I released a second version which was a little better but still I was a PHP novice. Now, I look back on my code and laugh. This latest version is completely rewritten from scratch and is designed for expandability. I made every element it's own function so designers will have the freedom they love. I completely ripped most of the inscript styling out and now people with little knowledge of PHP will be able to stylize it with ease.

In all honesty I sat on this version for a long time. Not having the time to make the finishing touches. I released a beta version and got some replies as to what bugs there were. Then I got time and finished everything. However, I found that the description system was too much trouble for most people to bother with so I went out to make an admin script. Once again I got too busy to work on it and then several months later finally came up with something. I'm tired of delaying it so although the admin script isn't pretty it is fully functional and should work like a charm for whoever chooses to use it.

If you have any suggestions, questions, ideas, or anything else related to the script then please e-mail me! Most importantly if you find any bugs then e-mail me immediately and I'll patch it up. Also, this script is open source and released under GNU so any PHP developers that do something awesome with it I'd love to see your handy work!

Features:

  • Very easy install
  • Reads images from directory
  • Script doesn't have to be anywhere near said directory
  • Limits amount of images shown per page.
  • Allows you to set ignored files
  • Caches Thumbnails
  • Automatically creates thumbnails
  • Creates folder icons based on the first or last image in the directory
  • Ability to upload a "folderimage.jpg" file to any directory to replace the thumbnail
  • If there aren't any images in a directory it will use a default thumbnail.
  • Flat file database
  • Admin script used to edit flat file database
  • Ability to seemingly change the name of a folder without having to physically change it
  • Ability to give folders title
  • Descriptions for images
  • Exif for images shows detailed camera setting information
  • Ability to turn off Exif
  • The choice between two types of javascript previews
  • Ability to turn off javascript
  • Function based styling which allows you to put any element anywhere in your style
  • Clean URL's for SEO
  • Browser titles for SEO
  • Ability to name your gallery
  • Ability to edit just about any other default text you may come accross
  • More you'll probably discover!

Requirments:

  • Exif
  • PHP 5
  • GD library
  • PHP sessions

Everything else is pretty standard. The only thing you really need to worry about is Exif. You can check out your server specs by making a PHP file with phpinfo(). You can easily disable exif in the settings so if it doesn't work no need to fret.

Enjoy the latest and in my opinion the best version of Saurdo Gallery!