Fixed movie tile lazy loading and SFW image.
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
<img
|
||||
v-if="release.poster"
|
||||
:src="sfw ? `/img/${release.poster.sfw.thumbnail}` : `/media/${release.poster.thumbnail}`"
|
||||
:style="{ 'background-image': sfw ? `/img/${release.poster.sfw.lazy}` : `/media/${release.poster.lazy}` }"
|
||||
:alt="release.title"
|
||||
class="thumbnail"
|
||||
loading="lazy"
|
||||
@@ -27,6 +28,7 @@
|
||||
v-for="cover in release.covers"
|
||||
:key="cover.id"
|
||||
:src="sfw ? `/img/${cover.sfw.thumbnail}` : `/media/${cover.thumbnail}`"
|
||||
:style="{ 'background-image': sfw ? `/img/${cover.sfw.lazy}` : `/media/${cover.lazy}` }"
|
||||
:alt="release.title"
|
||||
class="thumbnail cover"
|
||||
loading="lazy"
|
||||
|
||||
Reference in New Issue
Block a user