diff --git a/wcfsetup/install/files/lib/data/user/cover/photo/UserCoverPhoto.class.php b/wcfsetup/install/files/lib/data/user/cover/photo/UserCoverPhoto.class.php index 173573e4c4..87936fa97e 100644 --- a/wcfsetup/install/files/lib/data/user/cover/photo/UserCoverPhoto.class.php +++ b/wcfsetup/install/files/lib/data/user/cover/photo/UserCoverPhoto.class.php @@ -9,8 +9,8 @@ /** * Represents a user's cover photo. * - * @author Alexander Ebert - * @copyright 2001-2019 WoltLab GmbH + * @author Olaf Braun, Alexander Ebert + * @copyright 2001-2024 WoltLab GmbH * @license GNU Lesser General Public License */ final class UserCoverPhoto implements IUserCoverPhoto @@ -47,7 +47,7 @@ public function getLocation(?bool $forceWebP = null): string #[\Override] public function getURL(?bool $forceWebP = null): string { - return $this->file->getLink(); + return $this->file->getFullSizeImageSource(); } #[\Override]