Right, I’ve ended up adding a Photoblog category to my blog. I’m sure someone will hold the definition against me and scream some bad language in my face, but hey, this works for me.
The four options as I saw it was keep using Gallery as a Photoblog, install a separate blog for Photoblogging, tweak my WordPress template or make a WordPress plugin for Photoblog posts. The first two could be “integrated” through building a little script that would take the different RSS feeds and make them into one. The last one would probably be the nicest as all about the post would go into the post text in the database. Only problem is: my PHP server doesn’t support exif and as I’ve just moved my server I couldn’t really be bothered to redo the PHP installation right now.
So I went for option three: tweak my template. This consisted of checking when a post was from the Photoblog category and then present it like I want my photoblog entries presented, which for now is with SOME exif-data (my Canon EOS 20D gives by far too much uninteresting data, so I took only out what I thought to be interesting enough to share. If you want the rest, grab the picture and extract them yourself ).
graphics/exiftags from FreeBSD’s ports collection was installed, index.php and archive.php got a little extra with:
and photoblog.php was basically:
$sha1 = sha1($src);
$cache = ABSPATH . “wp-content/cache/“.$sha1;
if(file_exists($cache)) { echo “
“; include($cache); echo ““; }
“; include($cache); echo ““;
I’ll add some presentation later for the more minimalistic approach. But right now, I think it looks quite good. Of course, an option five: auto-blog my entries to Gallery’s Photoblog gallery would’ve been even better, but for now this is all right.
Follow Me
Follow me online and join a conversation