Answers.Body: <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>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-02-11T10:58:48.137Z
Answers.LastActivityDate: 2015-02-11T10:58:48.137Z
Answers.UserDisplayName: MrT
Answers.Body: <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>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-01-23T19:50:39.847Z
Answers.Text: 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?
Answers.UserDisplayName: MrT
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-01-23T19:47:42.867Z
Answers.LastActivityDate: 2015-01-23T19:47:42.867Z
Answers.UserDisplayName: Marion Newlevant
Body: <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>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-01-23T19:57:44.397Z
Comments.Text: Forgot to mention that I get "no photo" as a result.
Comments.UserDisplayName: MrT
Tags: <users>
Title: How do you display user photo in templates?
ThreadText: # 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 %}
  <img src="{{ entry.author.photoUrl(84) }}" alt="" />
  {% 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?  
  
  ---
  
  