Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/djalmaaraujo/gravatar-image
Web Component wrapper for Gravatar using Polymer
https://github.com/djalmaaraujo/gravatar-image
Last synced: 28 days ago
JSON representation
Web Component wrapper for Gravatar using Polymer
- Host: GitHub
- URL: https://github.com/djalmaaraujo/gravatar-image
- Owner: djalmaaraujo
- Created: 2013-08-20T21:37:14.000Z (about 11 years ago)
- Default Branch: gh-pages
- Last Pushed: 2014-03-11T19:43:58.000Z (over 10 years ago)
- Last Synced: 2024-10-09T23:13:18.315Z (about 1 month ago)
- Size: 298 KB
- Stars: 21
- Watchers: 5
- Forks: 8
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# <gravatar-image>
Web Component wrapper for Gravatar using Polymer
> Maintained by [Djalma Araújo](https://github.com/djalmaaraujo).
## Demo
> [Check it live](http://djalmaaraujo.github.io/gravatar-image).
## Usage
1. Import Web Components' polyfill:
```html
```2. Import Custom Element:
```html
```3. Start using it!
```html
```## Options
| Attribute | Options | Default | Description |
| ------------- | -------- | ---------------------------------- | ----------------------------------------------------- |
| `username` | *string* | `[email protected]` | Your gravatar email |
| `hash` | *string* | `be74fd9a577ea5ef1ab2e7c71bcfa4b5` | MD5 hash of your email (prevent to expose your email) |
| `size` | *int* | `80` | The img size |
| `placeholder` | *string* | `gravatar default image` | To add a default image for your gravatar image |## Contributing
1. Fork it!
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -m 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request :D## License
[MIT License](http://opensource.org/licenses/MIT)