diff --git a/templates/user/profile.tmpl b/templates/user/profile.tmpl
index 94a6114894..abb2f19479 100644
--- a/templates/user/profile.tmpl
+++ b/templates/user/profile.tmpl
@@ -9,7 +9,7 @@
                 {{else if eq .SignedUserName .Owner.Name}}
                 <a href="http://gravatar.com/emails/" id="profile-avatar" original-title="{{.i18n.Tr "user.change_avatar"}}">
                 {{else}}
-                <a href="{{.Owner.AvatarLink}}?s=234" id="profile-avatar">
+                <a id="profile-avatar">
                 {{end}}
                     <img class="profile-avatar" src="{{.Owner.AvatarLink}}?s=234" title="{{.Owner.Name}}"/>
                 </a>