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