After my previous post I set about to do one of two things:
- Create a full-blown application for uploading photos – My way of uploading photos was a multi-step process:
- I would select photos I wanted to upload and put them in a separate folder on my local disk
- I would then use Picasa and export the subset of photos as a web-page. This would automatically resize all images and create the thumbnails.
- Next I would create a file with image names and descriptions. I had a script on my home-page that parsed this file on the fly and displayed the album.
- Then I would upload the photos, the thumbnails and the file with the names.
- Use a package and customize it using a template – This would require me to operate within the constraints of the application that I was using.
I ultimately settled for the customization of a package. Writing my own photo-loader was way too much effort to handle in the hours after work. I considered a lot of options:
- Picasa web albums
This was my first choice, because I love Picasa and I use Google for a lot of things. Moreover I could really harness a lot of things like Cooliris’ PicLens (which is awesome) and create some snazzy stuff. Unfortunately what got in the way was Dreamhost. While very good in most aspects, Dreamhost didn’t provide out-of-the-box support for Picasa. So I would have to customize my Dreamhost installation and make some changes to my PHP configuration for this. As it would turn out, this was less than a stellar idea because I had to run “sudo” on Dreamhost and I did not have the right permissions for it. While I did not get any email saying “Sayontan, you are a bad, bad boy”, I did get a return message on the command prompt notifying me that this incident had been reported!!
ZenPhoto is one of the two packages that Dreamhost provides. I tried it out, but unfortunately this falls under the category of software that you cannot customize on Dreamhost. So, two down.
Technically Gallery was the first thing I attempted, even before my misadventures with Picasa, mainly because it was available with Dreamhost and secondly, I could customize it. However, I found it extremely counter-intuitive to use when I first installed it. But after I exhausted my other options I was compelled to revisit this. My typical style of using anything involves first fiddling with it, then reading the documentation / manuals to clarify any doubts that I have. Most software and hardware today have very friendly interfaces, so this approach works very well for me (as it does for most other people, I am sure). Naturally I had very little joy with Gallery the first time. But faced with no other choice to bundle on my website and with a mounting stack of photos to process I bit the bullet and dug in. Piece by piece it came together and with a few hours of effort I got the basic layout figured out. There are, however some annoyances:
- The BreadCrumb
This is a pretty nice feature that could do with a few configuration options that would enhance control. E.g. I cannot ask it to exclude certain levels or to show the caption / title of the image rather than its name
- Sub-albums / Album groups
This is a hard one to explain. On my earlier site I had groups like “2004”, and then separate albums under it. On the main page I would see both, 2004 and the albums under it. But I cannot conceive of a way to “tag” my albums without using sub-albums, and if I create one album called 2004 with a bunch of sub-albums, I cannot see the names of the sub-albums from my main page.
- Slideshow control
One good thing that Gallery did is an integration with Cooliris. But now I have a new problem: I want to define things like the pause between two photos in the slideshow, I want to remove the links that show up at the top etc. I am sure I can figure it out, but it isn’t obvious.
- Square thumbnails
This is a major gripe. Gallery can display a sized down thumbnail, but it feels the need to pad it with some solid color. The other option is to use a square thumbnail, which does away with the padding. I wonder, though, if it will allow me to set no colour for the padding.
- The BreadCrumb
Anyway, I guess it worked out alright in the end. There are a lot of things I would have liked to improve, but as is the case with packaged software, the best plan is to wait and play along. Most of the stuff comes by anyway. Of course, if you believe I botched some of the implementation or missed some features, please let me know – I would love to hear from you.