Fix the image sizing of the default avatar
authorAlexander Ebert <ebert@woltlab.com>
Sat, 26 Aug 2023 18:16:34 +0000 (20:16 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Sat, 26 Aug 2023 18:16:34 +0000 (20:16 +0200)
See https://www.woltlab.com/community/thread/301317-error-trying-to-upload-an-avatar-by-acp/

wcfsetup/install/files/acp/templates/userAdd.tpl

index 003891db3249f9e382fae175a09382b7dbc7638c..52b49d1973a4af5f30ddb5c01467835d33df36ac 100644 (file)
                                                        {if $avatarType == 'custom' && $userAvatar !== null}
                                                                {@$userAvatar->getImageTag(96)}
                                                        {else}
-                                                               <img src="{@$__wcf->getPath()}images/avatars/avatar-default.svg" alt="" class="userAvatarImage icon96">
+                                                               <img src="{@$__wcf->getPath()}images/avatars/avatar-default.svg" alt="" class="userAvatarImage" height="96" width="96">
                                                        {/if}
                                                </dt>
                                                <dd>