fix(gallery): config

This commit is contained in:
2026-06-01 13:23:04 +02:00
parent c55e6bc43f
commit 9ca81d7f13
3 changed files with 7 additions and 4 deletions
+4 -2
View File
@@ -11,7 +11,8 @@ templ GallerySet(g gallery.Set) {
>
for _,img := range g.SM.Images {
<img
src={ "/images/" + img.UID }
src={ "/images/" + img.UID + "?w=600" }
loading="lazy"
class="w-full"
alt="Gallery item"
/>
@@ -39,7 +40,8 @@ templ Gallery(g gallery.Gallery) {
class="overflow-hidden shadow-sm"
>
<img
src={ "/images/" + img.UID }
src={ "/images/" + img.UID + "?w=800" }
loading="lazy"
class="w-full h-full object-cover"
alt="Gallery item"
/>