From 66623a64b48aea647b5f17ff4844ad821869d07a Mon Sep 17 00:00:00 2001 From: June Date: Tue, 18 Nov 2025 17:11:48 +1300 Subject: [PATCH] increase thumbnail size --- web/src/components/photos/carousel.astro | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/web/src/components/photos/carousel.astro b/web/src/components/photos/carousel.astro index 160de00..46a9f0a 100644 --- a/web/src/components/photos/carousel.astro +++ b/web/src/components/photos/carousel.astro @@ -5,11 +5,12 @@ import { authPB } from "src/utils/pocketbase"; const pb = await authPB() const photos = await pb.collection('photos').getFullList({ - sort: '-created' + sort: '-created', + filter: 'published=true' }) const photoLinks = await Promise.all( - photos.map(p => pb.files.getURL(p, p.image)) + photos.map(p => pb.files.getURL(p, p.image, { thumb: '0x1800' })) ) ---