<p>I realized the image that I was trying to upload had issues. So, my code was working. Image upload had issues and there were no errors to tell you that. But we're good now. Thanks</p>

CC BY-SA 3.0
2015-02-11T10:58:48.137Z
2015-02-11T10:58:48.137Z
MrT
<p>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.</p>

CC BY-SA 3.0
2015-01-23T19:50:39.847Z
Well, both original and 100 folders contain the uploaded image... so how is there something wrong with the photo upload? How can I diagnose the problem here?
MrT
CC BY-SA 3.0
2015-01-23T19:47:42.867Z
2015-01-23T19:47:42.867Z
Marion Newlevant
<p>I tried using the following but it's not working:</p>

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

<p>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</p>

CC BY-SA 3.0
2015-01-23T19:57:44.397Z
Forgot to mention that I get "no photo" as a result.
MrT
<users>
How do you display user photo in templates?
# How do you display user photo in templates?

(Asked by: username_0 on 2015-01-23)

I tried using the following but it's not working:
{% if entry.author.photoUrl|length %}

{% 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

**Tags:** users
> **Comments:**
> **username_0**: Forgot to mention that I get "no photo" as a result.  

---

## 2 answers

### Answer by username_0 on 2015-02-11. Score: 2 | Accepted answer

I realized the image that I was trying to upload had issues. So, my code was working. Image upload had issues and there were no errors to tell you that. But we're good now. Thanks


---

### Answer by username_1 on 2015-01-23. Score: 2

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.

> **Comments:**
> **username_0**: Well, both original and 100 folders contain the uploaded image... so how is there something wrong with the photo upload? How can I diagnose the problem here?  

---

