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?
 

AndyB

Well-known member
Hi Lycaon,

Interesting, on my forum the member card shows the Medium size avatar.
 

Lycaon

Well-known member
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

AndyB

Well-known member
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.
 

Brogan

XenForo moderator
Staff member
Umm, that has nothing to do with member cards and avatars.

That is the thumbnail size of attached images.
 

James

Well-known member
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".
 

AndyB

Well-known member
Umm, that has nothing to do with member cards and avatars.

That is the thumbnail size of attached images.
I stand corrected. I put it back to 100 and tried again, now the member card is 192x192. Not sure why it was showing 96x96 before.
 

AndyB

Well-known member
You need to change it in the template, it'll have size="m" in <xen:avatar />, change it to size="l".
Not sure which template you're referring to, but the member card now shows 192x192 and I didn't need to edit any templates.
 
Top