By Fagault Eric on Friday, 26 October 2018
Posted in General
Replies 2
Likes 0
Views 471
Votes 0
Hello,
I would like to know what sizes of profile I can use to have images of identical sizes of for example 150px X 150px.
I tried -> getAvatar (large) and -> getAvatar (medium)
Large images are proportional to the original size, so not square.
Medium is too small .


Here is the context in which I want to use them .

<?php echo '<img src = "'. $FriendsIds-> getAvatar (medium). '" />'; ?>


Best regards.

Eric
I did this:

<? php echo '<img src = "'. $ FriendsIds-> getAvatar (large)." "style =" border-radius: 10px; height: 148px; padding: 2px; background: #fff; border: 1px solid # d2d2d2; " /> '; ?>

It's good
·
Friday, 26 October 2018 16:20
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for getting back to us your found the solution.

For your information, in Easysocial user avatar dimensions has 3 different size you can use.

- Small 32x32px
- Medium 64x64px
- Large/Square 200x200px
·
Friday, 26 October 2018 16:29
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post