XF 2.2 Avatar tag syntax in template

Orit

Active member
Hello,
I'd like to display a few specific avatars in my template.

What would the syntax be?
<xf:avatar user="{$xf.visitor}" size="o"/>
this works of course, and displays the current user.

But I need to display a specific users avatar.
<xf:avatar user="1234" size="o"/>
This doesn't send the whole object so doesn't display it correctly...

Thanks!!
 
Top Bottom