Show Flickr images on a page rendered with the PhotoSwipe javascript library.
Example: http://flickrps.frankpurcell.com
Running:
- git clone https://github.com/fpurcell/FlickrPhotoSwipe.git
- cd FlickrPhotoSwipe
- run a simple webserver, ala python -m SimpleHTTPServer 8000
- http://localhost:8000/
Customizing:
- create a https://www.flickr.com/ account, add some images, make those images public
- create a Flickr 'Album', and add some photos to it... 1 create a Flickr alias name https://www.flickr.com/profile_url.gne
- when you open your album in a browser, note the album id at the end of the url, ala https://www.flickr.com/photos/lightbox111/albums/72157670059311695
- create a Flickr API id: https://www.flickr.com/services/api/
- cd FlickrPhotoSwipe
- edit file index.html
- change (at least) this line: var f = new FlickrPhotoSwipe("<your api id>", "<your album id>", "<your flickr user id>");
- look like this? FlickrPhotoSwipe("f795862b714e60d59e6b4585f902e563", "72157670059311695", "lightbox111");
NOTE: this lib currently uses PhotoSwipe v3.0.3 (or v3.0.4?) https://docs.omniref.com/github/dimsemenov/PhotoSwipe/3.0.3 this is a pretty old version, and I hope to upgrade sometime...pull requests gladly accepted.