Skip to content

laien/Statamic-Flickr-Plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

Statamic Flickr Plugin

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.

Installing

  1. Download the zip file (or clone via git) and unzip it or clone the repo into /_add-ons/.
  2. Ensure the folder name is flickr.
  3. Go to Flickr - Create an App and create your own app.
  4. Copy the API key into the plugin

Tag Pair: :Sets

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 }}

Parameters

ID id

Id of the set you wish to request.

id="72157625970225029"

Limit limit

Default: 5

Limit the number of photos returned.

Variables & Variable Pairs

  • {{ id }}
  • {{ primary }}
  • {{ owner }}
  • {{ ownername }}

Variable Pair: :Photo

{{ 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 :)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages