Pinkoola: Flickr Gallery

The data is loaded dynamically from the Flickr API method flickr.photos.getRecent. All items not in the visible range are removed from the list to keep the list small.

Note: There are constantly added new photos at flickr, so you possibly get different photos at certain positions.

 

Setup

Go to pinkoola folder via your ftp client and under "includes" open: jb_flickr_api and add your API key. Get it here!

 

Methods

There are many ways to get images from Flickr and you havo to specify it under $url variable in jb_flickr_api.php

http://api.flickr.com/services/rest/?method=flickr.photos.getRecent&api_key=' . $api_key

Will gather all recently added photos.

http://api.flickr.com/services/rest/?method=flickr.photos.search&license=1,2,3,4,5,6&sort=interestingness-desc&api_key=' . $api_key;

Will gather all interesting photos descending.

As you can see there is a sort attribute in the link calling the "interestingness-desc". See all possible ways to get photos bellow and just replace "interestingness-desc" with it:

  • date-posted-asc
  • date-posted-desc
  • date-taken-asc
  • date-taken-desc
  • interestingness-desc
  • interestingness-asc
  • and relevance


For more documentation visit: http://www.flickr.com/services/api/