Lightweigh Flickr Photo Feed Plugin - jQuery Flickrush
| File Size: | 4.71 KB |
|---|---|
| Views Total: | 968 |
| Last Update: | |
| Publish Date: | |
| Official Website: | Go to website |
| License: | MIT |
Flickrush is a super light jQuery Flickr Photo Steam plugin which retrieves and displays random photos from any Flickr account using AJAX/JSON and the Flickr API.
How to use it:
1. Add jQuery JavaScript library and the jQuery Flickrush plugin's script jquery.flickrush.js to the html page.
<script src="https://code.jquery.com/jquery-1.12.4.min.js"
integrity="sha384-nvAa0+6Qg9clwYCGGPpDQLVpLNn0fRaROjHqs13t4Ggj3Ez50XnGQqc/r8MhnRDZ"
crossorigin="anonymous">
</script>
<script src="jquery.flickrush.js"></script>
2. Create a placeholder element for the Flickr photos.
<div id="flickrImages"></div>
3. Call the function on the element and insert your own user ID to the JavaScript.
$(function() {
$('#flickrImages').flickrush({
id:'YOUR USER ID HERE'
});
});
4. Set the maximum number of photos to display.
$(function() {
$('#flickrImages').flickrush({
limit:3
});
});
5. Decide whether to display Flickr photos randomly.
$(function() {
$('#flickrImages').flickrush({
random:true
});
});
This awesome jQuery plugin is developed by philipbeel. For more Advanced Usages, please check the demo page or visit the official website.











