Commit c6b138c3 authored by Franco Velasco's avatar Franco Velasco

Fixed image in template

parent 3f8b6f12
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
<h1> Widget User Profile </h1> <h1> Widget User Profile </h1>
<div class="user-page-container"> <div class="user-page-container">
{% if user.profile_image %} {% if user.profile_image %}
<img src="{{ MEDIA_DIR }}/widget-users/images/{{ user.profile_image }}" alt="Profile Image of {{ user.get_name }}" width="192" height="192"> <img src="{{ MEDIA_DIR }}/uploads/{{ user.profile_image }}" alt="Profile Image of {{ user.get_name }}" width="192" height="192">
{% else %} {% else %}
<img src="{% static 'Homepage/3.JPG' %}" alt="Profile Image of {{ user.get_name }}" width="192" height="192"> <img src="{% static 'Homepage/3.JPG' %}" alt="Profile Image of {{ user.get_name }}" width="192" height="192">
{% endif %} {% endif %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment