summaryrefslogtreecommitdiffstats
path: root/modules/avatar/testdata
diff options
context:
space:
mode:
authorRob Watson <rfwatson@users.noreply.github.com>2019-05-25 13:46:14 +0200
committerLauris BH <lauris@nix.lv>2019-05-25 14:46:14 +0300
commitdf2557835b2235b48d1ed979abb1a1d42607e96a (patch)
tree31ff762fc5c0023f7ddad6f7673b9a210e5021ed /modules/avatar/testdata
parent5f05aa13e00eb9f8098066c81d2cd916d91e9874 (diff)
downloadgitea-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.jpegbin0 -> 521 bytes
-rw-r--r--modules/avatar/testdata/avatar.pngbin0 -> 159 bytes
2 files changed, 0 insertions, 0 deletions
diff --git a/modules/avatar/testdata/avatar.jpeg b/modules/avatar/testdata/avatar.jpeg
new file mode 100644
index 0000000000..892b7baf78
--- /dev/null
+++ b/modules/avatar/testdata/avatar.jpeg
Binary files differ
diff --git a/modules/avatar/testdata/avatar.png b/modules/avatar/testdata/avatar.png
new file mode 100644
index 0000000000..c0f7922961
--- /dev/null
+++ b/modules/avatar/testdata/avatar.png
Binary files differ