How do you display user photo in templates? I tried using the following but it's not working:

{% if entry.author.photoUrl|length %}
&lt;img src="{{ entry.author.photoUrl(84) }}" alt="" /&gt;
{% else %}
no photo
{% endif %}


Also, another question of mine is... when i upload a user photo on the profile tab, am I suppose to see the photo's thumbnail? All I see is the upload box with the button but the file seemed to have uploaded successfully to /craft/storage/userphotos
Yes, you should see the photo thumbnail in the list of users after you upload the photo. Your exact code works for me, so I think something has gone wrong with the photo upload.