7 May 2005 beto   » (Journeyer)

Today I wrote a very little Perl program, called 'gale' that creates HTML galleries.

Well, what it really does is to create a thumbnail of each image found in the working directory using ImageMagick's 'convert' program, and then to write an 'index.html' with each thumbnail linking to its corresponding image.

I recognize it's very simple and very ugly, but I'm only trying to (re)learn how to program in Perl. Excuse me, please.

Update (21:59 GMT -0500): I decided to upgrade the program. Well, it's actually a minor upgrade, only. Now, it creates a single HTML file for each image in the gallery, and you can place a comment for it. Nicer, ┬┐no? :-)

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!