Giter Club home page Giter Club logo

flickrphotoswipe's Introduction

FlickrPhotoSwipe

Show Flickr images on a page rendered with the PhotoSwipe javascript library.

Example: http://flickrps.frankpurcell.com

Running:

  1. git clone https://github.com/fpurcell/FlickrPhotoSwipe.git
  2. cd FlickrPhotoSwipe
  3. run a simple webserver, ala python -m SimpleHTTPServer 8000
  4. http://localhost:8000/

Customizing:

  1. create a https://www.flickr.com/ account, add some images, make those images public
  2. create a Flickr 'Album', and add some photos to it... 1 create a Flickr alias name https://www.flickr.com/profile_url.gne
  3. 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
  4. create a Flickr API id: https://www.flickr.com/services/api/
  5. cd FlickrPhotoSwipe
  6. edit file index.html
  7. change (at least) this line: var f = new FlickrPhotoSwipe("<your api id>", "<your album id>", "<your flickr user id>");
  8. 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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.