Jonathan asked if I could add descriptions and EXIF data to the captions so I decided to give it a go. After some wrestling with JavaScript escaping issues I think I’ve got it working correctly. Please let me know if not!
If you’re curious about escaping data to pass from PHP to JavaScript, I used rawurlencode
in PHP and then unencode
in JavaScript to decode it. I still don’t know if that’s the correct method.
You can style the table of EXIF data using the flickr-exif
class in your theme.
You can get flickpress from the WordPress Plugins Directory.
…or right here: flickpress_1.4.zip
Here’s what a photo with caption, description, and EXIF table looks like: