twitted 10 days ago Awesome, CSS3 rules in IE: http://css3pie.com. Seems a bit too slow to me, but this is the nicest try I've seen at least

An Advanced WP FlickrRSS plugin

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.

Thursday September 4th, 2008

18 Responses to “An Advanced WP FlickrRSS plugin”

  1. [...] Read the rest here: An Advanced Wordpress FlickrRSS plugin [...]

    An Advanced Wordpress FlickrRSS plugin on Thursday September 4th, 2008 at 4:49 pm
  2. [...] Go to the author’s original blog: An Advanced Wordpress FlickrRSS plugin [...]

    An Advanced Wordpress FlickrRSS plugin on Thursday September 4th, 2008 at 6:08 pm
  3. [...] recorded first by rybesh on 2008-09-16→ An Advanced Wordpress FlickrRSS plugin [...]

    Recent URLs tagged Plugin - Urlrecorder on Wednesday September 17th, 2008 at 4:31 pm
  4. Sorry, but it doesn´t work. I always get other pictures than mine. I guess, your pics???

    Reb on Wednesday October 1st, 2008 at 2:50 am
  5. 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.

    Kjell on Wednesday October 8th, 2008 at 12:18 pm
  6. [...] of Fancybox, the jQuery lightbox-like plugin, and the pngFix plugin for IE6. Finally, download the Advanced FlickrRSS plugin for Wordpress I posted [...]

    Create Fancybox Flickr galleries inside Wordpress with FlickrRSS | Stefano Verna on Wednesday October 8th, 2008 at 10:22 pm
  7. 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/

    Fred Dibnah on Friday October 17th, 2008 at 3:12 pm
  8. [...] 8) Advanced Flicker [...]

    16 Practical Wordpress Plugins for advanced users | StayUpdate.com - Want to stay up to date? on Thursday December 11th, 2008 at 9:43 pm
  9. 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.

    Craig on Wednesday January 14th, 2009 at 1:44 am
  10. 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?

    Ari on Thursday January 22nd, 2009 at 10:31 pm
  11. [...] Advanced Flickr RSS [...]

    Wordpress Extension Pour Contenu Autogénéré | Le Pixel Shoppe on Sunday February 1st, 2009 at 3:44 am
  12. This plugin has been superceded by FlickrRSS 5.0, is that correct?

    donnacha | WordSkill on Monday February 16th, 2009 at 11:17 pm
  13. 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! ?>

    Reliance Insider on Monday March 9th, 2009 at 3:59 am
  14. Posting the code again for the above comment

    posttitle); $tags = thetags(”);
    getflickrRSS(array(’numitems’ => 12, ‘type’ => ‘public’, ‘tags’ => $tags, $title)); ?>

    Reliance Insider on Monday March 9th, 2009 at 3:59 am
  15. 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!

    Roberto on Wednesday June 10th, 2009 at 1:48 pm
  16. Hi! any answers from Reliance Insider’s questions?? I’m looking forward to it. I want flickrss to dynamically get tags from POST TAG.

    mike on Thursday September 10th, 2009 at 8:13 am
  17. How the images get RANDOM mode? They are static!

    nFormas on Tuesday September 15th, 2009 at 1:34 am
  18. [...] here to see the original: An Advanced Flickr RSS plugin for Wordpress | Stefano Verna Tags: clay, flickr, [...]

    wp-popular.com » Blog Archive » An Advanced Flickr RSS plugin for Wordpress | Stefano Verna on Sunday March 14th, 2010 at 1:47 am

Leave a Reply