Plugin Directory

Flickr API

Beta Release: 0.7 This plugin is an amended version of flickrRSS by "eightface". As well as allowing you to integrate Flickr photos into

Feedback and Support

For API problems you can visit the plugin page (http://malton-webdesign.co.uk/flickrapi)

Advanced

The plugin also supports a number of parameters, allowing you to have multiple instances across your

site.

  1. 'type' => 'user' - The type of Flickr images that you want to show. Possible values: 'user',

'favorite', 'set', 'group', 'public' 2. 'api' => '' - Optional but the point of the plugin! 2. 'tags' => '' - Optional: Can be used with type = 'user' or 'public', comma separated 3. 'set' => '' - Optional: To be used with type = 'set' 4. 'id' => '' - Optional: Your Group or User ID. To be used with type = 'user' or 'group' 5. 'do_cache' => false - Enable the image cache 6. 'cache_sizes' => array('square') - What are the image sizes we want to cache locally? Possible values: 'square', 'thumbnail', 'small', 'medium' 7. 'cache_path' => '' - Where the images are saved (server path) 8. 'cache_uri' => '' - The URI associated to the cache path (web address) 9. 'num_items' => 4 - The number of images that you want to display 10. 'before_list' => '' - The HTML to print before the list of images 11. 'html' => '<a href="%flickr_page%" title="%title%"><img src="%image_square%" alt="%title%"></a&>' -

the code to print out for each image. Meta tags available: %flickr_page%, %title%, %image_small%, %image_square%, %image_thumbnail%,

%image_medium%, %image_large% 12. 'default_title' => "Untitled Flickr photo" - the default title 13. 'after_list' => '' - the HTML to print after the list of images

Example 1

  get_flickrAPI(array('num_items' => 36, 
                      'type' => 'group', 
                      'tags' => '',
                      'id' => '12325216@N00',
                      'api' => '3370ecbd3e604245581eb4955fd6xxxx')); ?>

This would show the 36 most recent group photos

Example 2

  get_flickrAPI(array('num_items' => 30, 
                      'type' => 'user', 
                      'tags' => '',
                      'id' => '10529805@N00',
                      'api' => '3370ecbd3e604245581eb4955fd6xxxx')); ?>

This would show the 30 most recent thumbnail sized photos from the specified user's set.

Example 3

  get_flickrAPI(array('num_items' => 30, 
                      'type' => 'public', 
                      'text' => '',
                      'tags' => '',
                      'api' => '3370ecbd3e604245581eb4955fd6xxxx')); ?>

This would show the 30 most recent photos from all of FLickr.

Plugin History

  • 0.7 - Change of the Support page to new website
  • 0.6 - Removed the Large option as FLickr seem to have removed it.
  • 0.5 - Added search by Text facilty
  • 0.4 - Debug Option Added
  • 0.3 - Upgrade bug fix.
  • 0.2 - Readme.txt updated properly
  • 0.1 - Beta release (Plugin amended from the original "eightface" flickrRSS plugin

Requires: 2.6 or higher
Compatible up to: 3.3.2
Last Updated: 2012-4-24
Downloads: 7,827

Ratings

4 stars
4.3 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,2,2 100,1,1 100,1,1 100,1,1
100,2,2 100,1,1
100,1,1
100,1,1
0,1,0
0,1,0