Author Avatars List
Images not showing when using profile pics and a subdirectory (2 posts)

  1. clairetalk
    Posted 5 years ago #

    I've installed the plugin before and used with profile pic so I know they both work together, but this time I've tried it in a subdirectory call "blog" and it doesn't show the image on the page with the avatar code nor the sidebar widget.

    I looked on the source page and found that it isn't putting the subdirectory blog in the path.

    The path to the image in the code is:


    when it should be:


    The avatar shows up fine on the bio pages, etc.

    Is there code on a page that I can alter to put the blog directory in?

    Thank you

  2. marcusstenbeck
    Posted 5 years ago #


    I had the same problem and fixed it by altering line 729 in the file profile-pic.php in the plugin folder (it could be http://yoursite.com/wp-content/plugins/profile-pic/).

    Change line 729 in profile-pic.php from
    return $path;
    return site_url() . $path;
    and all your problems will be solved.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Author Avatars List
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic