--- title: A Photo Site That Generated Itself From a Folder description: A Webpack script that turns a folder of photos into a static site with responsive image variants. Mostly here as an excuse to talk about walks. date: 2026-04-27 projectPeriod: 'Summer 2016' thumbnail: src: ./_assets/photos.jpg alt: Screenshot of a generated photography site. tags: ['web', 'tools'] role: Site generator author stack: ['Webpack', 'Image processing', 'Static site generation'] outcome: A photography site that updated itself when I dropped new images into a folder audience: general links: [] --- A Webpack script that took a directory of full-size photos and produced a static site with multiple resized variants per image. Drop a new photo into the source folder, run the build, get a deployable site. The reason this exists at all: I take walks with a camera. Most of what I shoot isn't good, but the act of walking slowly with a frame to think about is the most reliable way I know to come back with an idea for whatever I'm working on. The site was an excuse to make that habit visible. If I rebuilt it today I'd use Astro, which is what this site runs on.