By Edward Stacey on Tuesday, 05 June 2018
Posted in General
Likes 0
Views 552
Votes 0
I'm wondering if passing the 'square' avatar instead of the 'medium' one to Kunena would give a better Kunena avatar.

Please look at the picture - the Avatar on Kunena is stretching the 'medium' picture to 144 by 144 px and it's blurry..

I'd like the more CLEAR one as shown on the Easysocial profile
Hey Edward,

As I do not have the FTP access, could you try to edit the file /plugins/kunena/easysocial/helpers/avatar.php and at line 47, locate the codes below:


$avatar = $user->getAvatar(SOCIAL_AVATAR_MEDIUM);


Replace it with,


$avatar = $user->getAvatar(SOCIAL_AVATAR_SQUARE);
·
Tuesday, 05 June 2018 22:41
·
0 Likes
·
0 Votes
·
0 Comments
·
Mark,
Thank you, that was the 'perfect' fix - as you can see from the picture below.. Thank you again!
·
Tuesday, 05 June 2018 23:54
·
0 Likes
·
0 Votes
·
0 Comments
·
You're most welcome.

Just for your information, I have locked and marked this thread as resolved to avoid confusions in the future. Please start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiries.

Thanks for understanding
·
Wednesday, 06 June 2018 09:46
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post