Guys, maybe this will be helpful: I wanted rectangle avatar – not square – so I did a bit of digging.
User avatars from this plugin (well, their attachement ids) are stored in option called “avatar_manager_custom_avatar”. That means it’s quite easy to get it and then do whatever you need to do. Some examples:
$attachement_id = get_user_meta(get_current_user_id(), 'avatar_manager_custom_avatar', true);
echo wp_get_attachment_url($attachement_id); // will give you avatar url (full size)
if you would like specific size you could do something like:
$attachement_id = get_user_meta(get_current_user_id(), 'avatar_manager_custom_avatar', true);
$image = wp_get_attachment_image( $attachement_id, 'people-avatar', false );
echo $image;
or
$attachement_id = get_user_meta(get_current_user_id(), 'avatar_manager_custom_avatar', true);
$thumb_url_array = wp_get_attachment_image_src($attachement_id, 'thumbnail-size', true);
$thumb_url = $thumb_url_array[0];
echo $thumb_url;
Hope that helps! ????
Lukas