Want a cool grid of random Imgur pictures on YOUR site? Well, yeah that doesn't sound too great does it..but with imgagine you can have it! To use, simply include the imgagine.min.js file on the page, include imgagine.css as well. Then create a div (or other container element) with class $('.imgur-container') Last additional requirement is jQuery, but you should have that anyway.
Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
get random albums from imgur and show them in a pretty way
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
boxViewSel: the selector for the button / element which is clicked to create a box view of the imgur data
gridViewSel: The selector for the button / element which is clicked to create a grid view of the imgur data
regenerateSel: The selector for the button / element which is clicked to fetch new data from imgur