Blue and gold Cloud patterns Dawn at the pier Abstract weed Capybara

25th April, 2004

Photoblog finished

Filed under: Random Mumblings, — bsag @ 05:04 PM

I’ve finally finished messing about with my photoblog, and I’ve set up redirects from the old entries to the corresponding entries in the new blog. I say ‘finally finished’, but of course a true geek never finishes tinkering grin.

I’m quite pleased with the way it turned out. I’ve mentioned before that I used an adaptation of the WordPress publishing platform called Pictorialis, which has been developed by Mark. It has loads of great features, like automatic uploading, re-sizing and thumbnailing of images, and it also sucks down the EXIF data provided by the camera, so that you can show the shutter speed, aperture and so on, which can be very useful.

However, the default thumbnails were rectangular, and used the full frame, whereas I had always used square thumbnails which only show a portion of the full image. After asking Mark’s permission, I hacked the source and added the ability to automatically copy a randomly selected square region of the image to use as a thumbnail. It wasn’t a complicated hack, but to my utter amazement (considering I have only been writing PHP for a few weeks), it actually worked. Better still, Mark is going to incorporate it into the next release of Pictorialis—yay!

  1. 1

    Cor. You’re as talented as a very talented thing. I hadn’t heard of Pictorialis until now (am beginning to fiddle with WordPress, as you will note from the stunningly originally URI’d site of mine…), but now I may have to wait until your integration.

    Site looks very good, too. It was Tinderboxed before, no? What made you switch to WP? Sheer unadulterated geekery, I bet.

    Pip pip Jolyon-----

    Jolyon: Thanks grin Mark has a lot of other nice goodies coming up in the next version (which are nothing to do with me), so it probably is worth the wait. The site was Tinderbox driven long, long ago. Then I switched to Movabletype. And yes, this switch was unadulterated geekery, and I wanted to have a dynamic site that didn’t require rebuilds.

    by bsag @ 27/04/2004 8:04 am • Permalink

blog comments powered by Disqus

Powered by ExpressionEngine :: © www.rousette.org.uk, 2002-2008 :: [XHTML] [CSS] [508]