Getting the large avatar
I’m using some PHP in a sidebar text widget to display a posts author and the xprofile fields for that user, plus the avatar.
I cannot seem to return the large version of the avatar, I’m getting a stretched version of the small avatar.
Can anyone advise?
<a href="/community/members/<?php echo get_the_author_meta('user_login') ?>"> <?php echo get_avatar ( get_the_author_meta('user_email'), $size = '192' ); ?> </a>
You must be logged in to reply to this topic.