This jQuery plugin allows you to display your Flickr's photosets.
-
In header, include js and css files:
<script type="text/javascript" src="js/jquery.flickr.js"></script> <link rel="stylesheet" type="text/css" href="css/jquery.flickr.css" />
-
In body:
<div id="my_gallery"></div>
-
Then, apply plugin:
<script type="text/javascript"> $(function() { $('#my_gallery').flickr({ user_id: '##USER_ID##', api_key: '##API_KEY##', }); }); </script>
- user_id: Flickr photoset's owner ID (required)
- api_key: Your Flickr API key (required)
- size: Size of thumbnails, small, normal or large (optional, default is normal)
- count: Number of photosets to display, set false to no limit (optional, default is false)
- speed: (optional, default is 100)