simple photo gallery script

A very simple photo gallery tool. It displays a set of thumbnail images (made by you) and then each individual image when clicked.

Requirements

  • You need PHP support on your server. An easy way to test this is to stick <?php phpinfo(); ?> into a .php file, upload that file to your server, and load it in your browser. If you get a huge table with information about your PHP setup, then you know you have PHP support. If you get a blank page, then you don’t have PHP. :(
  • Knowing some CSS would allow you to further customize the look of the page, but it isn’t required.

Try It and Get It

Features

  • Loads of variables that you can edit to customize the behaviour and look of your gallery.
  • Acts intelligently if you throw garbage at it. Example: if the visitor tries passing a bad argument (letters, numbers less than zero, numbers larger than the number of photos in your gallery, etc.) in the URL, the gallery loads either the main page, the first image, or the last image, depending.
  • Generates valid XHTML 1.0 Strict code that is neat to look at (try viewing the source of the sample gallery). Valid CSS comes by default, too.
  • Comes with a simple design (graphics and CSS included) so that you can get your gallery going immediately–just supply the photos and thumbnails!
  • Many things are determined automatically, such as image sizes and names, so you don’t have to spend time changing unnecessary variables.
  • Choose between plain text navigation, images, or both.

Source Code

If you don’t want to install the gallery, you might still be interested in viewing the source code.

This entry was posted in Programming and tagged , . Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

3 Comments

  1. Posted 21 July 2005 at 9:58 PM | Permalink

    Sufficient for my needs :D

  2. Posted 9 November 2007 at 7:19 AM | Permalink

    I think this will suit my gallery needs, I’m going to check it out.

  3. Posted 13 October 2009 at 6:12 PM | Permalink

    Wow… Great help… i am still learning … and this is a big help for me………

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>