Fixed movie banner using wrong photo variable.
This commit is contained in:
@@ -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)"
|
||||
|
||||
Reference in New Issue
Block a user