Changes for page Profile of XWikiUserSheet
Last modified by Ludovic Dubost on 2024/07/22 15:51
From version 5.1
edited by Ludovic Dubost
on 2017/02/07 23:57
on 2017/02/07 23:57
Change comment:
Install extension [org.xwiki.platform:xwiki-platform-user-profile-ui-8.4.4]
To version 4.1
edited by Ludovic Dubost
on 2015/09/01 11:46
on 2015/09/01 11:46
Change comment:
Install extension [org.xwiki.platform:xwiki-platform-user-profile-ui-7.1]
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -68,13 +68,10 @@ 68 68 ((( 69 69 #if($request.xpage == 'edituser') 70 70 {{html clean="false"}} 71 - #resizedUserAvatar($doc.fullName 1 80)71 + #resizedUserAvatar($doc.fullName 170) 72 72 {{/html}} 73 73 #else 74 - ## By specifying the image width we enable server side resizing. The width value we use is greater than the 75 - ## available space because we don't want to loose too much of the image quality (we rely on the browser to fit the 76 - ## image in the available space). 77 - {{attachmentSelector classname="XWiki.XWikiUsers" object="$obj.number" property="avatar" #if ($isMyProfile) savemode="direct" #end defaultValue="XWiki.XWikiUserSheet@noavatar.png" width="180" alternateText="$xwiki.getUserName($doc.fullName, false)" buttontext="$services.localization.render('platform.core.profile.changePhoto')" displayImage="true" filter="png,jpg,gif"/}} 74 + {{attachmentSelector classname="XWiki.XWikiUsers" object="$obj.number" property="avatar" #if ($isMyProfile) savemode="direct" #end defaultValue="XWiki.XWikiUserSheet@noavatar.png" width="120" alternateText="$xwiki.getUserName($doc.fullName, false)" buttontext="$services.localization.render('platform.core.profile.changePhoto')" displayImage="true" filter="png,jpg,gif"/}} 78 78 #end 79 79 ))) 80 80 ##########