Skip to content

mike-zarandona/RandomUserWall

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

RandomUserWall

A jQuery Plugin to build a wall of random user faces.

Demo on CodePen


Getting Started

Requirements

jQuery

  • Include jQuery
  • Include jquery.randomuserwall.js
  • Call RandomUserWall on a target object
$('.target').randomUserWall({ numFaces: 24 });

Options

numFaces (required, int) Defines how many faces will be generated

gender (optional, string) Defines the gender of the returned set of faces. female will return all women, male will return all men, any other value will result in a mix.

imgSize (optional, string) Sets the size of the images returned. thumb will return thumbnail size (80x80), med will return medium size (150x150), any other value will return full size (512x512).


Thanks

Thanks to the guys over at RandomUser.me for their hard work, as well as Greg at the 1000 faces project for the awesome images.


Changelog

v1.0.0

Initial release.


Author

Mike Zarandona | @mikezarandona

About

A jQuery Plugin to build a wall of random user faces.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published