UPDATES EasyBlog 6.0.14 Released! Joomla 5.x and PHP 8.x compatible now!

Helpdesk

Your Time
Our Time
Response Time
24 — 48 hours
We strive to provide the fastest ever response possible. However, we are not super beings.

Allow at least 24 — 48 hours
  Support is online
Our support specialists is available now. We will attend to you as soon as we can.
  Support is online

Display Avatar

Fagault Eric · ·
3:39 PM Tuesday, 31 October 2017
None
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
The replies under this section are restricted to logged in users or users with an active subscription with us