Fixed movie banner using wrong photo variable.
This commit is contained in:
parent
83d3621441
commit
4e81a8a1d6
|
@ -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)"
|
||||
|
|
Loading…
Reference in New Issue