If you’ve already used FlickrRSS in your life, you probably remember it as a good, loyal Wordpress plugin. I agree with you: it can show you sets, groups pool, public photos, it handles caching of photos. Unfortunately it lacks of some advanced costumization options:
- You cannot personalize the code to show up for each photo (e.g. you want to link the Flickr square thumbnail to the original image, and not to the Flickr page containing the photo).
- What if I want to cache both the square thumb and the large image?
- Also, the parameters to pass to the plugin function are quite dirty (we don’t like long list of unexplained parameters, do we?)
Well, I modified the FlickrRSS plugin to satisfy the above needs and as soon as possible I’ll try to contact Dave Kellam, the original FlickrRSS author, to let him know about this modified version, so hopefully these will be soon included to the trunk. In the meantime, you can download the modified source code here, as we’ll need it to continue the tutorial.
Here you have all the params you can pass to your reborn FlickRSS plugin. Please note that all of them are optional, just like the original plugin, but they are passed as an associative array, so you don’t have to remember the correct order and fill the call with all those ugly null parameters. Please note that if you do not specify them, the default values setted up the plugin Settings page will be used instead.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | $settings = array( /*== Content params ==*/ // What Flickr images you want to show? Possible values: 'user', 'favorite', 'set', 'group', 'public' 'type' => 'public', // Optional: To be used when type = 'user' or 'public' 'tags' => 'sunflowers', // Optional: To be used when type = 'set' 'set' => '', // Optional: Your Group or User ID. To be used when type = 'user' or 'group' 'id' => '', 'do_cache' => false, // What are the image sizes we want to cache locally? Possible values: 'square', 'thumb', 'small', 'medium' or 'large', provided within an array 'cache_sizes' => array('square'), /*== Presentational params ==*/ // The number of thumbs you want 'num_items' => 4, // the HTML to print before the list of images 'before_list' => '<div class="flickr_gallery">', // the code to print out for each image. Meta tags available: // - %flickr_page% // - %title% // - %image_small%, %image_square%, %image_thumb%, %image_medium%, %image_large% 'html' => '<a href="%flickr_page%"><img src="%image_square%" /></a>', // the default title 'default_title' => "Untitled Flickr photo", // the HTML to print after the list of images 'after_list' => '</div>' ); |
If you have any problems with it, please report them here! In a couple of days I’ll post a tutorial on how to use this modified version of FlickrRSS plugin to create your own, beautiful, Fancyboxed, polaroid Flickr galleries inside Wordpress.


[...] Read the rest here: An Advanced Wordpress FlickrRSS plugin [...]
[...] Go to the author’s original blog: An Advanced Wordpress FlickrRSS plugin [...]
[...] recorded first by rybesh on 2008-09-16→ An Advanced Wordpress FlickrRSS plugin [...]
Sorry, but it doesn´t work. I always get other pictures than mine. I guess, your pics???
Way awesome. Much better than the old one. And I did the modified lightbox as well. That was wicked awesome too. How hard would it be to randomize the photos that FlickrRSS grabs? I’d like for my “gallery” to show a random 20 photos from my flickr account each time.
[...] of Fancybox, the jQuery lightbox-like plugin, and the pngFix plugin for IE6. Finally, download the Advanced FlickrRSS plugin for Wordpress I posted [...]
Excellent modification to the original plugin. Being able to edit the “Item HTML” from within WP admin is very useful.
Chuck http://www.freddibnah.co.uk/
[...] 8) Advanced Flicker [...]
This is a great plugin. However, I am having trouble when adding it to more than one widget sidebar. If it is added to one, I can’t add it to another. I have to take it off a sidebar to put it on another one.
Greetings. Trying to get flickrRSS to work on this POLAROID theme but no luck! I am a newbie and would also be grateful for any tips on further mods to this nice theme… Are there any great 101 tutorials online?
[...] Advanced Flickr RSS [...]
This plugin has been superceded by FlickrRSS 5.0, is that correct?
I want to pass the post title and category name to the ‘tags’ parameter so that Flickr images are dynamically displayed based on the title and category.
I don’t know PHP. I tried the code below but it didn’t worked.
posttitle); $tags = thetags(”); getflickrRSS(array(’numitems’ => 12, ‘type’ => ‘public’, ‘tags’ => $tags, $title));
I appreciate your help! ?>
Posting the code again for the above comment
posttitle); $tags = thetags(”);
getflickrRSS(array(’numitems’ => 12, ‘type’ => ‘public’, ‘tags’ => $tags, $title)); ?>
Hi Stefano. I use your plugin in my blogsite… it’s perfect, but i would have 22 imgi instead of 20. Where do I edit the php file?
Thanks in advance!
Hi! any answers from Reliance Insider’s questions?? I’m looking forward to it. I want flickrss to dynamically get tags from POST TAG.
How the images get RANDOM mode? They are static!