diff options
author | Rob Watson <rfwatson@users.noreply.github.com> | 2019-05-25 13:46:14 +0200 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2019-05-25 14:46:14 +0300 |
commit | df2557835b2235b48d1ed979abb1a1d42607e96a (patch) | |
tree | 31ff762fc5c0023f7ddad6f7673b9a210e5021ed /modules/avatar/testdata | |
parent | 5f05aa13e00eb9f8098066c81d2cd916d91e9874 (diff) | |
download | gitea-df2557835b2235b48d1ed979abb1a1d42607e96a.tar.gz gitea-df2557835b2235b48d1ed979abb1a1d42607e96a.zip |
Improve handling of non-square avatars (#7025)
* Crop avatar before resizing (#1268)
Signed-off-by: Rob Watson <rfwatson@users.noreply.github.com>
* Fix spelling error
Signed-off-by: Rob Watson <rfwatson@users.noreply.github.com>
Diffstat (limited to 'modules/avatar/testdata')
-rw-r--r-- | modules/avatar/testdata/avatar.jpeg | bin | 0 -> 521 bytes |
-rw-r--r-- | modules/avatar/testdata/avatar.png | bin | 0 -> 159 bytes |
2 files changed, 0 insertions, 0 deletions
diff --git a/modules/avatar/testdata/avatar.jpeg b/modules/avatar/testdata/avatar.jpeg Binary files differnew file mode 100644 index 0000000000..892b7baf78 --- /dev/null +++ b/modules/avatar/testdata/avatar.jpeg diff --git a/modules/avatar/testdata/avatar.png b/modules/avatar/testdata/avatar.png Binary files differnew file mode 100644 index 0000000000..c0f7922961 --- /dev/null +++ b/modules/avatar/testdata/avatar.png |