There are three different avatar sizes

AndyB

Well-known member
There are three different avatars created when you upload an avatar:

Large 192x192
Medium 96x96
Small 48x48

I can see where the Medium and Small avatars are being used, but I cannot locate where the Large avatar is used. Is it being used anywhere?
 
Hi Lycaon,

Interesting, on my forum the member card shows the Medium size avatar.
Are you using the default style?

This is the code

HTML:
<img src="{xen:helper avatar, {$user}, l}" alt="" style="{xen:helper avatarCropCss, $user}" />

And changing th 'l' to m or s changes the avatar size.
 

Attachments

  • medium.webp
    medium.webp
    12.3 KB · Views: 7
  • large.webp
    large.webp
    19.4 KB · Views: 7
  • small.webp
    small.webp
    9.8 KB · Views: 7
Okay found the setting that changes the member card image size.

ACP -> Home -> Options -> Attachment Thumbnail Dimensions -> 192

I changed it from the default of 100 to 192.
 
Okay found the setting that changes the member card image size.

ACP -> Home -> Options -> Attachment Thumbnail Dimensions -> 192

I changed it from the default of 100 to 192.
You need to change it in the template, it'll have size="m" in <xen:avatar />, change it to size="l".
 
Back
Top Bottom