Skip to content
Michael Haschke edited this page Aug 12, 2015 · 3 revisions

Flickr service class

The Flickr service shows the recent images from Flickr user profile, Flickr groups and Flickr tags.

Configuration values

  • title: text of service box title
  • description: text of service box description, default used as subtitle
  • method: refers to the Flickr image pool what you want to use, currently FlickrUser, FlickrGroup and FlickrTags
  • key: your Flickr-API key
  • size: the size of the image, e.g. s (square 75px), q (square 150px), t (thumbnail 100px), m (small 240px), n (small 320px), z (middle 640px), c (middle 800px)
  • total: number of shown images

for FlickrUser

  • username: the Flickr user name, like in http://www.flickr.com/people/username/
  • userid: intern flickr user id, use idGettr to get the id

for FlickrGroup

  • groupname: the Flickr group name, like in http://www.flickr.com/groups/groupname/
  • groupid: intern flickr group id, use idGettr to get the id

for FlickrTags

  • tags: a string of a tag label, or use a PHP array to configure more than one label

Template keys

  • title: given image title
  • link: URL of the flickr page of the image
  • photo: URL of the image (for the configured size)