Avatar

Avatars for the people.

View the Project on GitHub MatthewCallis/avatar

Avatar is a JavaScript library for showing Gravatars or generating user avatars.

Examples

var avatar = new Avatar(document.getElementById('avatar'), {
  'useGravatar': false,
  'initials': 'MC'
});

/* or */

$('#avatar').avatar({
  'useGravatar': false,
  'initials': 'MC'
});

The above example will render an avatar with my initials "MC" as the image.

Styled

Gravatar Initials SVG Kitten

Raw

Gravatar Initials SVG Kitten

Browser Support

These are the browsers I have tested on personally:

Thanks

Pretty styles and design support kindly provided by Andrew Crocker.
Built with love at Apptentive.

License

Avatar is MIT licensed.