Simple Photo Browser

I have been using a bit of code I wrote for some of the small photo albums I uploaded here and decided I will polish it up a bit and make it available for download if anyone else is interested. This is not a big system for managing 100s of photos, it is designed to be ideal for showing up to 30 or so images in a nice clean manner.

You basically untar the distribution into the directory of your choice, copy your images into the img/ subdirectory. Create a list of files to display with something as simple as "cd img ; ls > list.txt" and add individual captions for photos by editing photo.jpg.txt. More info in the README file.

It supports themes and I think it is quite easy to create your own using the two provided in the tarball as a starting point. It can also work along with mod_rewrite to make nice looking URL's but you can configure it to work without mod_rewrite as well.

Written in PHP and only needs your basic PHP, nothing fancy. Two samples exist of installations one using the provided black theme and one using the white theme both of these samples use mod_rewrite.

Version 1.0 is available for download: http://www.devco.net/code/spb/spb-1.0.tgz

Leave a comment

Recent Entries

  • flashpolicyd 2.0

    I wrote a multi threaded server for Adobe Flash Policy requests, some background from Adobe:Since policy files were first introduced, Flash Player has recognized /crossdomain.xml...

  • Adventures with Ruby

    Some more about my continuing experiences with ruby, in my last post I saidthe language does what you'd expect and as you'll see in my...

  • New programming language of choice - Ruby

    I have fallen out of love with Perl some time ago, I cannot point to one specific thing about it that put me off, I...

  • On working from home

    I've not been posting much here, work has been incredibly manic the last while, especially I need to still finish off my SSO posts with...

  • Rework of puppet facts for /etc/facts.txt

    Previously I blogged a custom fact that reads /etc/facts.txt to build up some custom facts for use in Puppet manifests, well I've since learned a...

Close