Skip to content

Commit 46da718

Browse files
fix: Increase avatar size to 400px
1 parent d5391a2 commit 46da718

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/controllers/my/Avatar.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public function update(Request $request): Response
8181

8282
$image = models\Image::fromString($image_data);
8383

84-
$image->resize(200, 200);
84+
$image->resize(400, 400);
8585

8686
if ($user->avatar_filename) {
8787
$subpath = utils\Belt::filenameToSubpath($user->avatar_filename);

src/views/my/avatar/edit.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646

4747
<p id="avatar-caption" class="form-group__caption text--centered">
4848
{{ t('<abbr>PNG</abbr>, <abbr>JPG</abbr> and <abbr>WEBP</abbr> images only.') | raw }}<br />
49-
{{ t('The minimum recommended dimensions are %sx%spx.', [200, 200]) }}
49+
{{ t('The minimum recommended dimensions are %sx%spx.', [400, 400]) }}
5050
</p>
5151

5252
<input type="hidden" name="csrf_token" value="{{ csrf_token(form) }}">

0 commit comments

Comments
 (0)