Documentation · ViewHelper reference

XSD schema file | vhs master

Media / GravatarViewHelper

Renders Gravatar tag. /

  • Tag usage example

    <v:media.gravatar additionalAttributes="{foo: 'bar'}" data="{foo: 'bar'}" class="NULL" dir="NULL" id="NULL" lang="NULL" style="NULL" title="NULL" accesskey="NULL" tabindex="123" onclick="NULL" email="NULL" size="123" imageSet="NULL" maximumRating="NULL" secure="1">
    	<!-- tag content - may be ignored! -->
    </v:media.gravatar>
  • Inline usage example

    {v:media.gravatar(additionalAttributes: {foo: 'bar'}, data: {foo: 'bar'}, class: 'NULL', dir: 'NULL', id: 'NULL', lang: 'NULL', style: 'NULL', title: 'NULL', accesskey: 'NULL', tabindex: 123, onclick: 'NULL', email: 'NULL', size: 123, imageSet: 'NULL', maximumRating: 'NULL', secure: 1)}

Arguments

Argument Description Type
accesskey

Keyboard shortcut to access this element

string
additionalAttributes

Additional tag attributes. They will be added directly to the resulting HTML tag.

array
class

CSS class(es) for this element

string
data

Additional data-* attributes. They will each be added with a "data-" prefix.

array
dir

Text direction for this HTML element. Allowed strings: "ltr" (left to right), "rtl" (right to left)

string
email

Email address

string
id

Unique (in this file) identifier for this HTML element.

string
imageSet

Default image set to use. Possible values [ 404 | mm | identicon | monsterid | wavatar ]

string
lang

Language for this element. Use short names specified in RFC 1766

string
maximumRating

Maximum rating (inclusive) [ g | pg | r | x ]

string
onclick

JavaScript evaluated for the onclick event

string
secure

If it is FALSE will return the un secure Gravatar domain (www.gravatar.com)

boolean
size

Size in pixels, defaults to 80px [ 1 - 2048 ]

integer
style

Individual CSS styles for this element

string
tabindex

Specifies the tab order of this element

integer
title

Tooltip text of element

string
Required attribute

Revision history