Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Integrate Gravatar into your Play! application.
branch: master
Failed to load latest commit information.
app/views/tags/gravatar Add alt tag and make it default to an empty string
conf First commit
documentation/manual Fixed docs
src First commit
.gitignore First commit
README.textile README textile
build.xml First commit Useless command removed



Integrate Gravatar into your Play application.


Module installation

Install the gravatar module from the modules repository:

play install gravatar

Enable the module

After installing the module, add the following to your application.conf to enable it:


Using gravatar tag

Gravatar module
After installation you can use gravatar.img tag in your templates to generate an html img tag with the correct url for the email provided:

#{gravatar.img ''/}

renders to:

<img src=""></img>

Or you can use gravatar.url to generate a String with the correct url:

#{gravatar.url ''/}

renders to:


Size_,default_,rating and secure parameters explained here
are available.

#{gravatar.url '', size:50, default:'mm', rating:'pg', secure:true /}
Something went wrong with that request. Please try again.