Viewing 1 post (of 1 total)
You must be logged in to reply to this topic.
This is a post to report a problem loading the avatar (profilepicture).
Configuration:
Userpro version 4.9.26
Skin: elegant
Layout: Default
Pictures Fix: A/B
Url enconding: On/Off
Relative Url / Full URL
User Permalink: Username / ID
i can see/display the avatar on template memberlist v2, but when i try to see the “View profile” the avatar won’t load.
To fix i replace line 75 on file /userpro/templates/view.php
<?php echo get_avatar( $user_id, $profile_thumb_size ); ?>
With the next:
<img src="<?php echo $userpro->profile_photo_url($user_id); ?>" alt="profile-pic">
You must be logged in to reply to this topic.