Details
-
Improvement
-
Resolution: Incomplete
-
Major
-
None
-
1.0 B3, 1.0 B6
-
None
-
None
-
Low
-
Description
The useravatar macro checks the avatar property in the user object:
#if($profileobj.avatar && $profileobj.avatar != "") #foreach ($attach in $profiledoc.attachmentList) #if($attach.filename == $profileobj.avatar) #set($hasavatar = 1) #end #end #end
The avatar property is not available from a profile screen (I think). Users should be able to select which attachment is the avatar image. Or, a simpler solution, just use the last image/attachment.
Attachments
Issue Links
- blocks
-
XWIKI-717 Document the #useravatar macro
- Closed