User Avatar Java Macro

The "User Avatar" macro displays the avatar of a user. If the user has no avatar, the macro displays the standard image "noavatar.png".


{{useravatar username="<username>" width="<width>" height="<height>" /}}


NameOptionalAllowed valuesDescriptionDefault value
usernameNoA string representing the name of an user page.The user name, the full name or the prefixed full name of an XWiki user.None
widthYesAn integerThe width of the avatar image.The actual width of the image.
heightYesAn integerThe height of the avatar image.The actual height of the image.


{{useravatar username="xwiki:XWiki.Admin" width="300" /}}

will display



Related Pages

Search this space


Most popular tags

Failed to execute the [groovy] macro
  1. access rights
  2. activity stream
  3. annotation
  4. attachment
  5. comment
  6. Document Tree Macro
  7. export
  8. Extension Manager
  9. Flamingo skin
  10. global user
  11. Groovy event listener
  12. group
  13. nested page
  14. search
  15. skin
  16. syntax
  17. user
  18. user profile
  19. velocity macros
  20. wiki
  21. wysiwyg
  22. XWiki Applications
  23. xwikiattachment_archive table
  24. xwikiattachment table
  25. xwikiattrecyclebin table
  26. xwikiproperties table

[Display all tags from this space]