Categories
General

flickpress 1.8

I got a report of a conflict with a plugin called Scribe, so I’m hoping this version fixes the issue – if you use Scribe please let me know. At some point I’ll rewrite flickpress to be more immune to these conflicts, but in the meantime the changes I made should help.

In addition, this version fixes a small bug in the popup’s menu and uses a built-in WordPress function to make better (I think) page navigation links.

Report bugs early and often!

Get flickpress 1.8 at the WordPress Plugin Directory or by upgrading as usual in your WordPress admin.

Categories
General

flickpress 1.7.1

When I tried to post a photo earlier today over at my little photo blog flickpress gave me a notice saying my API key was no good. I think Flickr does expire keys from time to time, so I checked my key. It looked correct so I did some further testing. I finally figured out that the Flickr API no longer includes the flickr.test.echo method, which flickpress was using to test API keys. It seems silly to me, but the easiest way to test now appears to be to just fetch a recent photo – so that’s what flickpress does now.

This version also fixes some cosmetic issues in the popup tool. It should be fully compatible with WordPress 3.0, but I’ll wait until the actual release to claim it really works. I’ve done a little testing with WP 3.0 in MU-mode and flickpress seems to work, but others have reported it doesn’t work.

Get flickpress 1.7.1 at the WordPress Plugin Directory or by upgrading as usual.

Categories
General

flickpress 1.6

Bugfix! @flash just let me know about a bug preventing new Flickr users from getting added. I think I’ve fixed the bug – version 1.6.1 should be available for upgrade shortly.

This release fixes a bunch of cosmetic things and adds some navigation links. I find the Older/Newer links for recent photos especially useful when I want to add several photos to a post.

I made a bunch of little changes to get the markup valid, both in the plugin and for the stuff it inserts into posts. Note that some of the tags I’ve used (table?) might not be valid with your particular theme’s doctype. If you do find non-valid markup anywhere please let me know.

For a fun feature I added interesting photo browsing. They seem to mostly be “all rights reserved” – I’m leaving it to you to decide whether it’s okay to post them or not.

You can get flickpress from the WordPress Plugins Directory.

Categories
General

flickpress 1.5

Bug fix! Tarique and Falko noticed that having more than one phpFlickr-based plugin enabled at once can result in conflicts. Rather than figure out how to check for the library (and version – conflicts there too) I’ve opted to rename some things in the version of phpFlickr included with flickpress. This should avoid any conflicts, so let me know if you’re still seeing errors.

Another bug fix! Ben noticed a bug that led me to test inserting a bunch of different photos. I finally ran into trouble with this adorable kitty, which has a title that’s got quotes and a description with a variety of fun characters. It turns out I was using the wrong PHP function to escape text – PHP’s rawurlencode seems to go with JavaScript’s unescape. I hope so at least – let me know if you find any photos that won’t insert or if you get unexpected characters in captions.

New feature! You can now browse a user’s favorites. I like to use favorites to bookmark photos to use in posts – it’s nice to be able to get to those right in flickpress.

You can get flickpress from the WordPress Plugins Directory.

…or right here: flickpress_1.5.zip

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