Use `IUserCoverPhoto::getThumbnailURL()` in `userCard` template
authorCyperghost <olaf_schmitz_1@t-online.de>
Wed, 18 Dec 2024 10:27:20 +0000 (11:27 +0100)
committerCyperghost <olaf_schmitz_1@t-online.de>
Wed, 18 Dec 2024 10:27:20 +0000 (11:27 +0100)
com.woltlab.wcf/templates/userCard.tpl

index f86268c90fa61d47307dcdf5e375ee33b8c744f2..37491ac0274396d3098b20f28723263a8d739e93 100644 (file)
@@ -3,7 +3,7 @@
                <div class="userCard__header__background">
                        <img
                                class="userCard__header__background__image"
-                               src="{$user->getCoverPhoto()->getURL()}"
+                               src="{$user->getCoverPhoto()->getThumbnailURL()}"
                                loading="lazy">
                </div>
                <div class="userCard__header__avatar">