I came across Thumbsup which automates generating a photo gallery website. It will generate thumbnails, handle videos, mobile device views, and more. Plus it does its work and produces a static set of assets which fits my general theme.
The project hosts a demo here.
The software stack seems complicated but they produce a container. I generate my galleries using
apptainer like so:
apptainer run -B /home/user/Desktop:/work docker://ghcr.io/thumbsup/thumbsup thumbsup --input /work/Gallery --output /work/Thumbsup