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'
});

The above example will render an avatar with my initials "MC" as the image.
See the README for static methods that return the URL or base64 strings.

Styled

Gravatar Initials SVG Kitten

Raw

Gravatar Initials SVG Kitten

Thanks

Pretty styles and design support kindly provided by Andrew Crocker.

License

Avatar is MIT licensed.