A Place for Random Photos

|

I was chatting in e-mail this weekend about various issues around formatting images for the web, and that got me thinking about having an automated photo-posting location (ie, a method for posting images I e-mail to a script). I broke the problem down into two steps:

  1. Make a template site and see what sort of actions will need to be done on the images/text in order to get it up.
  2. Write the scripts.

I managed to get the first part done tonight. The biggest pain in the ass was vertically centering the image in the div, because fricken-fracken CSS doesn't have any way of handling that. I had to intall two MovableType modules and write a Perl script to calculate how far to offset the image from the top, and I don't even want to think about how idiotic some of the problems I ran into were.

On the other hand, I've worked out the kinks in the process, and have figured out how to do it all consistently, so now all I have to do is automate the process. Half the battle is over.

Oh, yeah, and that site's still very delicate, especially the comments area, so be gentle.

About this Entry

This page contains a single entry by Ayse published on February 23, 2004 11:13 PM.

Employer versus Ethics was the previous entry in this blog.

Chemical High is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Pages

Powered by Movable Type 4.12