🔔 Alert..!! Get 2 Month Free Cloud Hosting With $200 Bonus From Digital Ocean ACTIVATE DEAL

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

Plugins

Documentation

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


You May Also Like