An open API service indexing awesome lists of open source software.

https://github.com/zachleat/jquery-gravatar

Retrieve a gravatar image dynamically from any e-mail address.
https://github.com/zachleat/jquery-gravatar

Last synced: 5 months ago
JSON representation

Retrieve a gravatar image dynamically from any e-mail address.

Awesome Lists containing this project

README

          

# 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/)