Fixed width and height attributes on tag photos, fixes lazy loading.

This commit is contained in:
2025-12-13 04:24:47 +01:00
parent 6796f7f258
commit 02f2629f6b
3 changed files with 3 additions and 9 deletions

View File

@@ -43,11 +43,7 @@ export async function onBeforeRender(pageContext) {
fetchTagsById([tagSlug], {}, pageContext.user),
fetchReleases(pageContext),
getRandomCampaigns([
{
tagSlugs: [tagSlug],
minRatio: 0.75,
maxRatio: 1.25,
},
{ tagSlugs: [tagSlug], minRatio: 0.75, maxRatio: 1.25 },
{ tagSlugs: [tagSlug], minRatio: 3 },
{ tagSlugs: [tagSlug], minRatio: 3 },
pageContext.routeParams.domain === 'scenes'