Summary
Display a large size avatar for a user
Usage
#macro(largeUserAvatar $username)

Large avatars, 120px wide, to be used where a large version of the avatar must be displayed (for example in the user profile).

Since
2.5
Example
{{velocity}}
{{html}}
#useravatar('xwiki:XWiki.VincentMassol')
#largeUserAvatar('xwiki:XWiki.VincentMassol')
#resizedUserAvatar('xwiki:XWiki.VincentMassol', 100)
#mediumUserAvatar('xwiki:XWiki.VincentMassol')
#smallUserAvatar('xwiki:XWiki.VincentMassol')
{{/html}}
{{/velocity}}

Result:

useravatar.png

Note that when no user is found, the following is displayed:

useravatar-nouser.png

Tags:
    

Get Connected