Fixed movie banner using wrong photo variable.

This commit is contained in:
DebaucheryLibrarian 2021-03-17 02:12:56 +01:00
parent 83d3621441
commit 4e81a8a1d6
1 changed files with 4 additions and 4 deletions

View File

@ -33,8 +33,8 @@
v-else-if="release.teaser && /^image\//.test(release.teaser.mime)"
:src="getPath(release.teaser, 'thumbnail', { original: true })"
:alt="release.title"
:width="photo.width"
:height="photo.height"
:width="release.teaser.width"
:height="release.teaser.height"
loading="lazy"
class="item trailer"
>
@ -68,8 +68,8 @@
<img
:src="getPath(cover, 'thumbnail')"
:style="{ 'background-image': getBgPath(cover, 'lazy') }"
:width="photo.width"
:height="photo.height"
:width="cover.width"
:height="cover.height"
class="item cover"
loading="lazy"
@load="$emit('load', $event)"