diff options
author | James Anderson <james.anderson@target.com> | 2015-08-10 10:43:14 -0500 |
---|---|---|
committer | James Anderson <james.anderson@target.com> | 2015-08-10 10:43:14 -0500 |
commit | e5146155a0bd4415cc274c6f67218293715183a2 (patch) | |
tree | d10a4c5e797565881a01b67452f1f27d8b80e4fe /models/user.go | |
parent | 59a475163f90351e476cd9e466909b7f05f51e49 (diff) | |
download | gitea-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.go | 2 |
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() |