added photograph to be shown in my profile page.
authoranoop
Wed, 24 Feb 2010 13:13:39 +0530
changeset 65 8ac0ce6cfd66
parent 64 e743fe1f0f99
child 67 a18d7a0f9b46
added photograph to be shown in my profile page.
templates/user/my_profile.html
--- a/templates/user/my_profile.html	Wed Feb 24 11:04:11 2010 +0530
+++ b/templates/user/my_profile.html	Wed Feb 24 13:13:39 2010 +0530
@@ -13,6 +13,11 @@
         <a href="/user/edit/">edit profile</a> | <a href="/accounts/password/change">change password</a>
         <hr>
     {% endif %}
+    {% if profile.photo %}
+        <a href={{ profile.photo.url }}>
+        <img border="0" height="200" src={{ profile.photo.url }}>
+        </a>
+    {% endif %}
     {% if profile.aboutme %}
         <br><h4>About Me</h4><hr>{{ profile.aboutme }}
     {% endif %}