JavaScript
Article

Photofy.js – jQuery Random Photo Plugin

By Sam Deering

photofy

This new little plugin randomizes a collection of images from a parent container or from an image feed, and then randomly displays them with an animated effect. All that’s needed is one line of javascript, a tiny amount of css and of course some images.

The demo created gives the effect of new photos being taken, which is a great idea for photographers. However there are many other uses, as it was first created for an online store where product images are shown on the home screen so that that potential customers were instantly able to see what the site had for sale.

The plugin is made to be easy to use, and fully integrates with jQuery. So to initialize the plugin, you would just do $(“#my-image-wrapper”).photofy();

Demo
Download

jQuery Code


 

HTML Code

Free Guide:

7 Habits of Successful CTOs

"What makes a great CTO?" Engineering skills? Business savvy? An innate tendency to channel a mythical creature (ahem, unicorn)? All of the above? Discover the top traits of the most successful CTOs in this free guide.

  • http://gfxlegends.com/forums/ George T. Wiliam

    Thanks Buddybud,

    Will put it to good use!

Recommended
Sponsors
Because We Like You
Free Ebooks!

Grab SitePoint's top 10 web dev and design ebooks, completely free!

Get the latest in JavaScript, once a week, for free.