WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. lauracdd
    Member
    Posted 2 years ago #

    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/

  2. justmigrating
    Member
    Posted 1 year 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

About this Topic

Tags

No tags yet.