x
 
Create New Page
 View Previous Changes    ( Last updated by Lisa Wess )

Avatar Of Current User

Question:

How can I display the avatar of the currently logged in user?

Answer:

Use the Custom Profile Data Tag:

{exp:member:custom_profile_data}
{if avatar}
<img src="{avatar_url}" width="{avatar_width}" height="{avatar_height}" alt="{screen_name}'s avatar" />
{/if}
{
/exp:member:custom_profile_data}

Category:Members

Categories: