Without options:
$('body').append($.gravatar('[email protected]'));
With options:
$('body').append($.gravatar('[email protected]', {secure: true,
rating: 'pg'}));
- size: size of the gravatar
- rating: rating of the gravatar g (default), pg, r, x
- image: default image url
- secure: serve https gravatar
Licensed under the WTFPL (http://sam.zoy.org/wtfpl/)