By Mist on Wednesday, 05 March 2014
Posted in General Issues
Replies 3
Likes 0
Views 654
Votes 0
How to get bigger avatar pictures from EasySocial, inside post.question.item.php template file (EasyDiscuss template) ?

Currrently the avatar is pulled this way

<?php echo $post->getOwner()->avatar;?>


but this is pulling and display the avatar in small size, we need bigger size

Thanks !
Hello Mist,

The code that you supplied retrieves the EasyDiscuss profile object. You need to do something like this,


<?php echo Foundry::user($post->getOwner()->id)->getAvatar(SOCIAL_AVATAR_LARGE);?>
·
Thursday, 06 March 2014 00:27
·
0 Likes
·
0 Votes
·
0 Comments
·
Cool. Thanks ! It's working perfect !
·
Thursday, 06 March 2014 09:25
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome
·
Thursday, 06 March 2014 12:59
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post