From: Michael Tremer Date: Thu, 13 Feb 2025 20:53:32 +0000 (+0000) Subject: users: Add a default resolution to avatars X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a9c32752842a0afa9fdde4c7e7a74ab5c8caf04e;p=pbs.git users: Add a default resolution to avatars Otherwise we are receiving the original image which might be huge and usually is not square. Signed-off-by: Michael Tremer --- diff --git a/src/templates/users/macros.html b/src/templates/users/macros.html index fe8c7a83..d9b43fb5 100644 --- a/src/templates/users/macros.html +++ b/src/templates/users/macros.html @@ -18,7 +18,7 @@ # # ##############################################################################} -{% macro Avatar(user, size=None) %} +{% macro Avatar(user, size=256) %} {{ user }} {% endmacro %}