Previous entry:
Employer versus Ethics

Next Entry:
Chemical High

Home:
One Truth For All

July 2008
Sun Mon Tue Wed Thu Fri Sat
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    

Archives

February 23, 2004

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.

Posted by ayse on 02/23/04 at 11:13 PM