Use kitsu urls for anime cover images

This commit is contained in:
Timothy Warren 2022-01-10 17:06:05 -05:00
parent b1fecc7c95
commit 5204053506

View File

@ -6,7 +6,7 @@
<?php if ($auth->isAuthenticated()): ?> <?php if ($auth->isAuthenticated()): ?>
<button title="Increment episode count" class="plus-one" hidden>+1 Episode</button> <button title="Increment episode count" class="plus-one" hidden>+1 Episode</button>
<?php endif ?> <?php endif ?>
<?= $helper->picture("images/anime/{$item['anime']['id']}.webp") ?> <?= $helper->picture($item['anime']['cover_image'], '.jpg') ?>
<div class="name"> <div class="name">
<a href="<?= $url->generate('anime.details', ['id' => $item['anime']['slug']]) ?>"> <a href="<?= $url->generate('anime.details', ['id' => $item['anime']['slug']]) ?>">