This is a simple template edit that allows animated avatars to show in posts. You have two options here:
1. Forces the size of all avatars to be 96x96
2. Allow avatars to use their aspect ration.
Also there is 2 versions, one that displays the animation to everyone and the other codes won't show animation to guests for faster browsing.
Guest will see animation
Forced 96x96 edit: Open template message_user_info
Find
Replace with
Aspect ration edit: Open template message_user_info
Find
Replace with
If guest; do not display animation
Forced 96x96 edit: Open template message_user_info
Find
Replace with
Aspect ration edit: Open template message_user_info
Find
Replace with
Demo
1. Forces the size of all avatars to be 96x96
2. Allow avatars to use their aspect ration.
Also there is 2 versions, one that displays the animation to everyone and the other codes won't show animation to guests for faster browsing.
Guest will see animation
Forced 96x96 edit: Open template message_user_info
Find
Code:
<xen:avatar user="$user" size="m" />
Replace with
Code:
<a class="username avatar Av{$user.user_id}l" href="{xen:link members, $user}">
<img src="{xen:helper avatar, $user, l, 'true'}" alt="{$user.username}" height="96px" width="96px" itemprop="photo" />
</a>
Aspect ration edit: Open template message_user_info
Find
Code:
<xen:avatar user="$user" size="m" />
Replace with
Code:
<a class="username avatar Av{$user.user_id}l" href="{xen:link members, $user}">
<img src="{xen:helper avatar, $user, l, 'true'}" alt="{$user.username}" style="max-height:96px;max-width:96px;" itemprop="photo" />
</a>
If guest; do not display animation
Forced 96x96 edit: Open template message_user_info
Find
Code:
<xen:avatar user="$user" size="m" />
Replace with
Code:
<xen:if is="!{$visitor.user_id}">
<xen:avatar user="$user" size="m" />
<xen:else />
<a class="username avatar Av{$user.user_id}l" href="{xen:link members, $user}">
<img src="{xen:helper avatar, $user, l, 'true'}" alt="{$user.username}" height="96px" width="96px" itemprop="photo" />
</a></xen:if>
Aspect ration edit: Open template message_user_info
Find
Code:
<xen:avatar user="$user" size="m" />
Replace with
Code:
<xen:if is="!{$visitor.user_id}">
<xen:avatar user="$user" size="m" />
<xen:else />
<a class="username avatar Av{$user.user_id}l" href="{xen:link members, $user}">
<img src="{xen:helper avatar, $user, l, 'true'}" alt="{$user.username}" style="max-height:96px;max-width:96px;" itemprop="photo" />
</a></xen:if>
Demo