flickrRSS Plugin Readme
This plugin allows you to display a flickr style badge (for a tag, user or group pool) on your WordPress site. It uses MagpieRSS to parse the RSS feed and display the images. This is my first attempt at a WordPress plugin, so you may run into some problems I hadn't considered. If you use the image cache, you'll need to remove old images manually.
Installation
- Put flickrrss.php in your plugins directory
- If you want to cache images, create a directory and make it writable
- Activate the plugin
- Configure your settings via the panel in Presentation
- Add
<?php get_flickrrss(); ?>
somewhere in your templates
Upgrading
If you're upgrading from flickrRSS 2.3, your installation will break, and you'll have to reconfigure the options panel (now found under the Presentation tab).
If you did something weird like including plugin hooks directly in your posts, you might have some work to do. I've changed how the parameters work, so it'll break the old references.
FAQ
- Can I get random images from my stream?
Nope, it's a limitation of using the RSS feed (it only displays the last 10 photos)
- Can I get images from sets?
Sorry, Flickr doesn't provide rss feeds for sets.
- Upgrading from 2.3?
You'll need to reconfigure the options panel, and if you used parameters, it will probably break.
Advanced
The plugin also supports a number of parameters, allowing you to have multiple instances across your site.
$num_items
- how many photos you want to appear
$type
- specify user, public or group photosream
$tags
- a comma separated list of tags (with no spaces)
$imagesize
- square, thumbnail, medium or large
$before_image
- html appearing before each photo
$after_image
- html appearing after each photo
$userid
- specify a user id (or group name)
Example 1
<?php get_flickrrss(10, "public", "kittens,puppies"); ?>
This would show the 10 most recent public photos tagged with kittens or puppies.
Example 2
<?php get_flickrrss(5, "group", "", "thumbnail", "<li>", "</li>", "central"); ?>
This would show the 5 most recent thumbnail sized photos from the Flickr central group, and each photo would be wrapped in list tags.
Feedback and Support
Visit the Eightface forum for help getting the plugin working and styling the photos. I'll do my best to respond, but sometimes I'm slow.
If you're having huge issues, you can try contacting me directly.
Plugin History
Latest Release: December 24, 2006
- 3.1.2 - Flickr altered the address of static photo urls, affected people using cache
- 3.1.1 - Minor update to add support for Flickr servers with three digits
- 3.1 - Flickr changed the RSS url, support for 20 images in admin panel, a few minor tweaks to display text
- 3.0.3 - added basic support for the WordPress Widgets plugin
- 3.0.2 - fixed before/after image bug, config panel back to options instead of presentation, put group option back in panel
- 3.0.1 - attempt to fix cache bug (wasn't working), fix for command parameter $type error
- 3.0 - Rewrote large parts of the plugin, proper flickr image size, parameters make more sense
- 2.3 - Flickr changed rss feed structure (permanent location of picture)
- 2.2 - should no longer display an error message if flickr times out.
- 2.1 - cURL (uses fopen if not found), empty cache no longer hardcoded, should work for multiple ids/tags, can now use quotes in the before/after tags, bugfixes
- 2.0.2 - bug fixes
- 2.0.1 - fixed new cache bug, flickr added a 10th photo server, breaking the script
- 2.0a - cURL instead of fopen, uses built in rss-functions instead of MagpieRSS, cleaned up options panel
- 1.2 - added thumbnail size
- 1.1 - bug fixes
- 1.0 - Options panel implemented
- 0.7 - Initial release