Random Image + Metadata

I’m currently trying to figure out a way to randomly display an image from my extensive collection of digital photography, but I want to do more than just pick a random image from a directory and display it. That’s what Hiveware’s Image Rotator does with PHP and also what this Random Image Displayer script does in Perl.

What I want is a little script that can pull both an image plus some stored metadata (see left column), and display it randomly. I’ve looked at Menalto Gallery, but it seems like ovekill for what I want. Does anyone have pointers to a script (in PHP or Perl) that does what I need? The metadata would likely be stored in a MySQL table or even in a flat file.

Update: I found this recent tutorial on how to integrate Gallery into MovableType. Very interesting. I’m going to have to rethink my requirements.

Posted by Cameron Barrett at May 14, 2003 12:39 PM

Leave a Reply

Your email address will not be published. Required fields are marked *