diff --git a/CHANGELOG.md b/CHANGELOG.md index b5e0a904..12ceddbc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,10 +1,8 @@ # Changelog -## Version 5.3 -* Updated to support PHP 8.1 - ## Version 5.2 * Updated PHP requirement to 8 +* Updated to support PHP 8.1 ## Version 5.1 * Added session check, so when coming back to a page, if the session is expired, the page will refresh. diff --git a/app/templates/anime-cover.php b/app/templates/anime-cover.php index 5715d0d2..95790cca 100644 --- a/app/templates/anime-cover.php +++ b/app/templates/anime-cover.php @@ -6,7 +6,7 @@ isAuthenticated()): ?> - = $helper->picture("images/anime/{$item['anime']['id']}.webp") ?> + = $helper->img($item['anime']['cover_image'], ['width' => 220, 'loading' => 'lazy']) ?>
- = $helper->picture("images/manga/{$item['manga']['id']}.webp") ?> + = $helper->img($item['manga']['image'], ['width' => 220, 'loading' => 'lazy']) ?>