Skip to:
Content
Pages
Categories
Search
Top
Bottom

link to avatar by id

Viewing 1 replies (of 1 total)

  • shanebp
    Moderator

    @shanebp

    Why would you want to link to an avatar?

    If you mean show their avatar as a link to their profile…
    Then if you know what that person’s user_id is… say as $that_member_id

    `
    $avatar=bp_core_fetch_avatar(array(“item_id”=>$that_member_id,”type”=>”thumb”,”height”=>32,”width”=>32));
    $avatar_link = “” . $avatar . ““;
    echo $avatar_link;
    `

Viewing 1 replies (of 1 total)
  • The topic ‘link to avatar by id’ is closed to new replies.
Skip to toolbar