Hello,
I use the avatar of the members in some lines of the file:
"media / com_easysocial / apps / user / friends / themes / default / streams / friends.title.php"
To display the avatar and cover of "friend" members.
$amiavatar = ES::user($results);
echo '<p><div style="position:absolute;margin-left:3%;margin-top:-22%;padding:3px;border:solid 1px #c2c2c2;z-index:10;background:#fff">
<img src="'.$amiavatar->getAvatar().'"/></div> <p><p>';
Since the avatar displays the member's initials when the member has not posted a photo, the avatar is displayed in large size.
How can I display it in the right size?
Best regards.
Eric