WordPress.org

Support

Support » Plugins and Hacks » User Photo » User Photo: How can an administrator use a specific member's photo

User Photo: How can an administrator use a specific member's photo

  • Hi,

    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.

    http://wordpress.org/extend/plugins/user-photo/

Viewing 1 replies (of 1 total)
  • 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.

Viewing 1 replies (of 1 total)
  • The topic ‘User Photo: How can an administrator use a specific member's photo’ is closed to new replies.
Skip to toolbar