/photoswipe-flickr

Simple responsive Flickr slideshow using Photoswipe

Primary LanguageJavaScript

photoswipe-flickr

Show a Flickr album as a slideshow using Photoswipe.

Usage

Get a Flickr API key (if you don't already have one)

Create a new api key. You only need the key part, not the secret.

Get the album ID

Open the photoset in Flickr, then look at the URL. It should look something like https://www.flickr.com/photos/your_name/sets/7225764364613184/. That string of numbers at the end is the album ID.

Check the demo

Live demo here

Look at the source for the demo for a very simple example of how to set everything up. The important parts are to include photoswipe-flickr.js after you include the photoswipe JS, and then to call photoswipeFlickr() with your API key and album ID (and options for the photoswipe gallery, if you want). There's also a bit of extra code to reopen the gallery after it has been closed, but that's optional.

Here's another demo of the slideslow in action.

Bugs/Feedback

Email me: alex@grin.io