Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
get flickr photos by photoset and outputs fancybox gallery
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
css
images/fancybox
js
.gitignore
README.md
VERSION
index.html

README.md

jQueryFlickr

get flickr photos by photoset and outputs fancybox gallery

See the demo example: http://makevoid.github.com/jqueryflickr

basic usage

in the page head add:

<link href="css/fancybox.css" rel="stylesheet">
<script src="js/jquery.js"></script>
<script src="js/jquery-fancybox.js"></script>
<script src="js/jquery-flickr.js"></script>
<script>
  var api_key = "ceedea54d4a6a93de57f7f0f8b448106"
  $(function(){
    $("#photos").flickrGallery(api_key)
  })
</script>

and this will go into the body:

 <div id="photos" data-set_id="72157625778631893"></div>

note: you have to change the dataset id to the one you want to show, also remember to change the api key!

you can find the "set_id" like this:

you also need to copy "images/fancybox" folder and you may need to edit the images path in "css/fancybox.css"!

configuration:

you can pass options to flickrGallery like the photo size and some fancybox options

$("#photos").flickrGallery(api_key, { size: 30, fancybox_options: {} })

notes

feel free to fork the project and submit pull requests!

Something went wrong with that request. Please try again.