Skip to content

Commit

Permalink
Use File::getFullSizeImageSource() instead of File::getLink()
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyperghost committed Dec 12, 2024
1 parent ef27055 commit 38fd2a5
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 <http://opensource.org/licenses/lgpl-license.php>
*/
final class UserCoverPhoto implements IUserCoverPhoto
Expand Down Expand Up @@ -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]
Expand Down

0 comments on commit 38fd2a5

Please sign in to comment.