A jQuery Plugin to build a wall of random user faces.
- Include jQuery
- Include
jquery.randomuserwall.js
- Call RandomUserWall on a target object
$('.target').randomUserWall({ numFaces: 24 });
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 to the guys over at RandomUser.me for their hard work, as well as Greg at the 1000 faces project for the awesome images.
Initial release.