Scott Andrew

Blog

Posted May 8, 2025.

Quick and easy image galleries for static websites

I've been wanting to put image collections here and other websites I've built, but it's such a pain, and since moving to 11ty I've lost the ability to just use a plugin like with WordPress. So: I made a thing!

Neat Gallery! is a simple-as-possible tool that you can point at a folder of images and it'll generate a minimal HTML page and set of lower-rez thumbnails. Then you can either upload the folder as-is or copy the relevant bits out and stick 'em on your website somewhere. The cool thing is that it automatically sets up Photoswipe so you can have that best-in-class lightbox user experience.

Here's a gallery I created using just the default settings:

And here's a gallery using the masonry-style layout option.

Grab the script and instructions here.