Categories
General

flickpress 1.4

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:

National Christmas Tree

National Christmas Tree by izik

The tree at the Capitol is the Capitol Christmas Tree, and the one at the White House is the National Christmas Tree.

Camera:Canon EOS DIGITAL REBEL XT
Exposure:1/500
Aperture:f/0.0
Focal Length:0 mm
Exposure Bias:-2/3 EV
ISO Speed:100
Flash:Off, Did not fire
Avatar photo

By isaac

I like cats. he/him