Skip to content

zachleat/jQuery-Gravatar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

jQuery Gravatar

Usage

Without options:

$('body').append($.gravatar('zachleatherman@gmail.com'));

With options:

$('body').append($.gravatar('zachleatherman@gmail.com', {secure: true,
                                                         rating: 'pg'}));

Options

  • size: size of the gravatar
  • rating: rating of the gravatar g (default), pg, r, x
  • image: default image url
  • secure: serve https gravatar

License

Licensed under the WTFPL (http://sam.zoy.org/wtfpl/)

Releases

No releases published

Packages

No packages published