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()): ?> - picture("images/anime/{$item['anime']['id']}.webp") ?> + img($item['anime']['cover_image'], ['width' => 220, 'loading' => 'lazy']) ?>
diff --git a/app/templates/manga-cover.php b/app/templates/manga-cover.php index fbb0f3a3..4b3f58ef 100644 --- a/app/templates/manga-cover.php +++ b/app/templates/manga-cover.php @@ -4,7 +4,7 @@
- picture("images/manga/{$item['manga']['id']}.webp") ?> + img($item['manga']['image'], ['width' => 220, 'loading' => 'lazy']) ?>
html($item['manga']['title']) ?> diff --git a/app/views/anime/details.php b/app/views/anime/details.php index 7860abf8..65528672 100644 --- a/app/views/anime/details.php +++ b/app/views/anime/details.php @@ -1,13 +1,12 @@