summaryrefslogtreecommitdiffstats
path: root/models/user.go
diff options
context:
space:
mode:
authorJames Anderson <james.anderson@target.com>2015-08-10 10:43:14 -0500
committerJames Anderson <james.anderson@target.com>2015-08-10 10:43:14 -0500
commite5146155a0bd4415cc274c6f67218293715183a2 (patch)
treed10a4c5e797565881a01b67452f1f27d8b80e4fe /models/user.go
parent59a475163f90351e476cd9e466909b7f05f51e49 (diff)
downloadgitea-e5146155a0bd4415cc274c6f67218293715183a2.tar.gz
gitea-e5146155a0bd4415cc274c6f67218293715183a2.zip
Resize avatars to the same size they are displayed
Diffstat (limited to 'models/user.go')
-rw-r--r--models/user.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/user.go b/models/user.go
index 3b28f5ed49..88889672c3 100644
--- a/models/user.go
+++ b/models/user.go
@@ -194,7 +194,7 @@ func (u *User) UploadAvatar(data []byte) error {
if err != nil {
return err
}
- m := resize.Resize(200, 200, img, resize.NearestNeighbor)
+ m := resize.Resize(234, 234, img, resize.NearestNeighbor)
sess := x.NewSession()
defer sess.Close()