flickpress

flickpress is a WordPress plugin that adds a multi-user popup tool to the WordPress toolbar for browsing and inserting Flickr photos into posts.

Search or browse recent Flickr photos, tags, favorites, and photosets for multiple users – then insert various sizes of photos into your posts. In addition to searching and browsing photos for known users, flickpress also supports searching for Creative Commons, government, and Flickr Commons photos. Photo captions are included by default, but may be disabled. It is up to you to determine whether your use of a photo is allowed or requires attribution – please honor photo publishers’ licenses.

Installation

You must have your own Flickr API key and enter it at Settings -> flickpress for the plugin to work.

flickpress should work with the most recent release of WordPress. If you are testing the development version of WordPress and find flickpress does not work, please let me know. If you are using an old version of WordPress, please upgrade!

There is a widget and old school template function for adding a user’s recent photos to your sidebar – see the readme for details.

Using the template function

You should really use the widget, but if your theme doesn’t have a widget area in the right spot (the footer in Jean-Marc’s case) you probably want to use the template function. When using a plugin function in your theme it’s a good idea to check for it first like this:

<?php
if (function_exists('flickpress_photos'))
flickpress_photos('email','number of photos','before','after','class');
?>

If you want a bunch of thumbnails displayed horizontally in your footer, you’d probably want to leave the before and after fields empty. Here’s what worked for me to display 5 recent photos in a row, giving them each the “flickrphotos” class for custom styling:

<?php
if (function_exists('flickpress_photos'))
flickpress_photos('email','5','','','flickrphotos');
?>

MU-compatibility

I’ve gotten a report that flickpress does not work with WPMU. When I tried it in a testing environment (using subdirectories – I was unable to get subdomains working) it seemed to work fine, both with MU 2.9.1.1 and with WP 3.0-alpha with the MU stuff turned on. If you try flickpress with MU please let me know if it works or not and especially any errors you see.

Get flickpress

You can get the latest version of flickpress from the WordPress Plugins Directory.

Encouraging development

Bug reports and feature requests help me fix things and give me development ideas, so don’t be afraid to post a comment or contact me. If you appreciate my work and want to buy me a beer/coffee, here’s a convenient PayPal button:

[paypal-donation reference=”flickpress plugin”]