exgravatar
exgravatar copied to clipboard
An Elixir module for generating Gravatar urls.
Exgravatar
An Elixir module for generating Gravatar urls.
Make sure to check out the Gravatar documentation for all available options.
Usage
import Exgravatar
gravatar_url "[email protected]", secure: false
#=> "http://gravatar.com/avatar/694ea0904ceaf766c6738166ed89bafb"
# with size option in pixels
gravatar_url("[email protected]", s: 256)
#=> "https://secure.gravatar.com/avatar/694ea0904ceaf766c6738166ed89bafb?s=256"
Copyright and License
Copyright (c) 2015 Sonny Scroggin
This work is free. You can redistribute it and/or modify it under the terms of the MIT License. See the LICENSE.md file for more details.