Documentation > Tags Reference > gravatar

gravatar

Given an email address, the gravatar tag outputs a HTML <img> tag; The source of this image is set to the Gravatar image registered for this email at gravatar.com. If the email is not registered th default image is outputted.

<cms:gravatar email="johndoe@gmail.com" size="60" />

Parameters

email

The email for the Gravatar.

size

Specifies the desired width and height of the Gravatar. Valid values are from 1 to 512 inclusive. If skipped, value of 48 is used.

default

If no Gravatar found for the email, by default the Gravatar of unknown@gravatar.com is used. You can specify some other image to be used instead by setting this parameter to the URL of the alternative image.

Variables

It is a self closing tag and does not set any variables of its own.