The Flickr plugin is used for fetching and displaying photos from Flickr's API. Starting with photosets. Great for galleries.
By the way, this plugin is totaly inspired by Jack McDade's great Plugin for Dribbble.
- Download the zip file (or clone via git) and unzip it or clone the repo into
/_add-ons/
. - Ensure the folder name is
flickr
. - Go to Flickr - Create an App and create your own app.
- Copy the API key into the plugin
Example Tag
{{ flickr:sets id="72157625970225029" }}
<h1>Photos by {{ ownername }}</h1>
{{ photo }}
<div class="photo">
<img src="{{ url_m }}" title="{{ title }}" />
</div>
{{ /photo }}
{{ /flickr:sets }}
Id of the set you wish to request.
id="72157625970225029"
Default: 5
Limit the number of photos returned.
{{ id }}
{{ primary }}
{{ owner }}
{{ ownername }}
{{ photo }} {{ /photo }}
{{ id }}
{{ secret }}
{{ server }}
{{ farm }}
{{ title }}
{{ image_teaser_url }}
{{ isprimary }}
{{ url_m }}
(Medium){{ height_m }}
{{ width_m }}
{{ url_l }}
(Large){{ height_l }}
{{ width_l }}
You can read more about Flickr´s API Method - flickr.photosets.getPhotos.
Have fun :)