Gravatar Helper
Helper functions to interact with Gravatar.
Functions
gravatar($email = '', $size = 50, $rating = 'g', $url_only = false, $default = false)
Get a Gravatar image based on the passed in params.
| Name | Default | Required | Description |
|---|---|---|---|
| Yes | E-mail address of the Gravatar user | ||
| size | 50 | No | The size of the image in px |
| rating | g | No | Limit the image to a specific rating |
| url_only | false | No | Return only the URL to the image file? Otherwise, returns <img /> tag. |
| default | false | No | URL to an image to use as the default if no Gravatar available |
