Provides a component to show a series of tagged photos from a Flickr account in SilverWare apps.
Installation is via Composer:
$ composer require silverware/flickr
As with all SilverStripe modules, configuration is via YAML. You may modify the default endpoint and timeout
for the API via YAML:
SilverWare\Flickr\API\FlickrAPI:
default_endpoint: https://api.flickr.com/services/rest
default_timeout: 10
Before this module can be used, you will need to create a Flickr API key.
Once you have created your API key, you can define it for your app in one of two ways:
This module will add a Flickr tab to the Services tab under SilverWare
in your site settings. You can paste your API key into the 'Flickr API Key' field.
Alternatively, you can add your API key to YAML config for your app:
SilverWare\Flickr\API\FlickrAPI:
api_key: <paste the key here>
The key defined in site configuration will take precedence over the YAML key.
This module provides a FlickrPhotosComponent
for use within your SilverWare templates and layouts.
After creating the component, you may enter the Flickr User ID (also known as the NSID) for the component
using the CMS. The Flickr User ID is typically in the format [email protected]
. In addition, you can define a
series of comma-separated tags in order to show only photos with those tags.
On the Options tab of the component, you may change any of the default options, which include:
Resulting photos are cached between requests to avoid unnecessary API calls. Any time you change either
the User ID, photo tags, or tag mode, the component will automatically clear the cache. Flushing the site will also
clear the photo cache.
Please use the issue tracker for bug reports and feature requests.
Your contributions are gladly welcomed to help make this project better.
Please see contributing for more information.
Colin Tucker | Praxis Interactive |
BSD-3-Clause © Praxis Interactive
Module rating system helping users find modules that are well supported. For more on how the rating system works visit Module standards
Score not correct? Let us know there is a problem