Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-5529

New velocity macros for displaying user avatars with standard sizes

    XMLWordPrintable

    Details

    • Difficulty:
      Unknown
    • Similar issues:

      Description

      As proposed on http://incubator.myxwiki.org/xwiki/bin/Improvements/AvatarsProposal and voted on http://markmail.org/thread/c67dra642nbm5h3r

      #largeUserAvatar($username) -> 120px, user profile
      #mediumUserAvatar($username) -> 50px, primary avatar (comments, dashboard, annotations...)
      #smallUserAvatar($username) -> 30px, secondary avatar (comment replies)
      #resizedUserAvatar($username, $size) -> custom size in px, maximum for width and height
      #useravatar($username) -> no resize, older macro
      

        Attachments

          Activity

            People

            Assignee:
            sdumitriu Sergiu Dumitriu
            Reporter:
            sdumitriu Sergiu Dumitriu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response: