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 offline
Our team is away during the weekend. Some answers may already be available on our documentation

Rest assured that we will get back to your posts as soon as the week starts!
  Support is offline

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