User Photo
User Photo: How can an administrator use a specific member's photo (2 posts)

  1. lauracdd
    Posted 2 years ago #


    I'm developing a website for a club, and included is a member directory. I am using User Photo so that members can upload their own photo, but they will not be editing the member directory. Still, I'd like to have their photograph next to their information. Is their any html code that will insert a specific user's photo? Including something with img and userphoto_"username" [I hope I am making sense!]

    Please let me know! Thank you.


  2. justmigrating
    Posted 2 years ago #

    I need to know this too. We have an arts organization website which lists each artist on their own page. I am pulling information from the artist's profile page and need to include their photo. This is set up in functions.php.

    $aUsersID = $wpdb->get_col("SELECT $wpdb->users.ID FROM $wpdb->users WHERE display_name='" . $usertitle . "'");
    foreach ($aUsersID as $iUserID) :
    $user = get_userdata($iUserID);
    echo '
    ' . $user->user_email;
    echo $user->???; /* this is where I need to reference the user photo
    ... etc.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • User Photo
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.