EE Gravatar


Philip Zaengle

3rd Party (Free)

264 downloads (last 90 days)

EE Version Support

  • ExpressionEngine 1.x
  • ExpressionEngine 2


If an item is crossed out, it might be untested, not applicable or incompatible. Contact the developer to be sure.

  • Updater
  • Multi Site Manager
  • Stand Alone Entry Form
  • Low Variables
  • Content Elements
  • Better Workflow
  • Matrix
  • Grid
  • Webservice
  • Publisher


  • jQuery for the Control Panel

Add-On Type(s)



The EE Gravatar Plugin allows you to easily insert a "globally recognized avatar" image from Gravatar (

This plugin requires at a bare minimum one of two possible parameters depending on where you wish to use it. The first option is a user’s email address {email} and the second option is a user’s screen name “{name}”. The reason for this is so the plugin can be used in situations where one or the other parameter won’t return the proper result. It is recommended that you use {email} for comment and entry loops and {name} for display in member profile templates, but feel free to experiment. Here’s the two minimum required uses:

<img src=”{exp:gravatar email=”{email}”}” /> —For use in comment or entry loops.

<img src=”{exp:gravatar name=”{name}”}” /> —For use in templates such as Member Profiles where {email} won’t work as expected.


Defines a default avatar if there isn’t one associated with the email address or if it exceeds the rating.

rating=”[G | PG | R | X]”
Allows you to limit gravatars to the appropriate rating. Anything exceeding the rating will use the default (if supplied) or not display.

Allows you to define how big the gravatar will be in pixels. Any size other than 80 will cause the original gravatar image to be downsampled using bicubic resampling before output.

Possible examples

Here’s a few examples that you might use:

<img src="{exp:gravatar email="{email}" rating="PG"}" />

Only displays gravatars of PG rating or lower.

<img src="{exp:gravatar email="{email}" rating="R" size='40'}" />

Displays 40x40 pixel gravatars of R rating or lower.

<img src="{exp:gravatar email="{email}" size="70" 
alt="Picture of {name}" title="{name}" class="avatar" />

Displays gravatars of 70x70 pixels or a default graphic for users without a gravatar. Puts the user’s name in the alt and title tags and styles the image using a class called “avatar.”

<div class='profileTitle'><img src="{exp:gravatar name="{name}" 
size="80" rating="R"}" data-style="float: left; margin: 0; 
padding: 6px;" alt="{name} pic" title="{name}" />{name}</div>
<p>{lang:member_group}&nbsp; <b>5</b></p>

The above is a snippet of code from my Public Member Profile template showing how to insert a gravatar into the member listings for your site.


Current Developer: Philip Zaengle
Original Developer: Les Jenkins of

Download EE Gravatar

EE Support Downloads Add-On Version Release Date
Not Specified Download 2.1 Mar 9, 2010
Not Specified Download 2.1 Mar 9, 2010

EE Gravatar Links

This entry was created October 1, 2008, 3:32 pm.
This entry was last updated January 14, 2013, 2:24 pm.

Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!

Returns: devot:ee has a 30-day return policy on all commercial add-ons sold through If you need to return an add-on, do not go to the developer or the developer's site, but rather visit our returns page at to initiate your return. If you have questions, email

There are no reviews for this add-on yet.

What are you waiting for? Rate it and review it!