Galleries on Finley, I am.

Yesterday I posted the first gallery from DelFest. This is a new type of post, allowing me to specify a list of photos in the frontmatter of my posts and the Article component builds a gallery. Easy. But I skimped on optimizations yesterday and that meant that the megabytes worth of images were loaded 100% and then scaled/cropped with CSS. So the homepage ballooned to ~39mb. Yikes.

So I installed @astrojs/image this morning and used the Image component to make thumbnails on the fly. First, wow that was easy. Second, the homepage is now under 6mb and that post is around 500kb vs 35mb. More photos are incoming.