Skip to content

mraaroncruz/jquery.wtfstockphotos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WTF Stockphotos jQuery Plugin

Replace image elements with crazy stock photos

Example

// replace all images
$.wtfstockphotos('img')

// replace an images by class or id
$.wtfstockphotos('.swappable-image')

Options

limit (default 30) - limit number of images fetched from reddit. will make initial request faster.

$.wtfstockphotos('.swappable-image', { limit: 10 })

About

Replace elements in your page with awesome stock photos

Resources

License

Stars

Watchers

Forks

Packages

No packages published