Her is a tweak for the Enhanced user plugin.
Follow the same Tutorial here.
Go to your theme, core -> global -> plugins -> EnhangedUserPanelPlugin.
Find this code:
<span class='ipsUserPhoto euip_AvatarSize {{if $coverPhoto->file AND \IPS\Settings::i()->euip_ShowCoverPhoto == 1}}euip_Avatar{{endif}}'>
<img src='{$comment->author()->photo}' alt='{$comment->author()->name}' itemprop="image">
</span>
</li>
NOTE : The last</li> tag is required
and replace it with this
</li>
<li class='cAuthorPane_photo'>
{template="userPhoto2" app="core" group="global" params="$comment->author(), 'variable', $comment->warningRef()"}
</li>
NOTE : The FIRST </li> tag is required
Go to the postContainer template: and comment on this code:
<!--
<li class='cAuthorPane_photo'>
{template="userPhoto2" app="core" group="global" params="$comment->author(), 'variable', $comment->warningRef()"}
</li>
-->
To remove the double avatar showing for mobiles
This will allow our avatars to have different sizes.
The Images won't be cropped any more allowing any size.