Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
A Hugo theme for photo blogs that renders album covers, galleries, and individual photo pages with EXIF metadata.

A Hugo theme for building media galleries that mix photos and videoclips in a Pinterest-style vertical layout.
Garbage Collector of Photos is a Hugo theme for photo blogs and albums. It displays album covers on the front page, gallery content on album pages, and each photo on its own page with EXIF metadata and download options. The theme is built on Hugo and was created by Seb for his personal photo blog at photos.zedas.fr.
Garbage Collector of Photos is an open-source Hugo theme designed specifically for photo albums and photography blogs. It takes a folder of images (stored in Hugo's assets directory) and renders them as an interactive gallery: the front page shows album covers, album pages show thumbnails in rows of two (one on mobile), and clicking a photo opens a larger view that displays EXIF data and a download link. The theme is a complete rewrite of an earlier theme by the same author, and it runs on Hugo (any version supporting Hugo themes).
new.py creates an album folder structure: it generates an _index.md for the album and a .md page for every photo, named in file-name order. You can pass tags to the script with -t "tag1,tag2".params.allowPhotoDownload in config.yaml.linebreak (break the gallery and emphasize a photo), albumdisplay (align the thumbnail using CSS background-position values), and description (multiline YAML supported) let you build visual storytelling._index.md supports title, description (Markdown allowed), and tags; the tag "Album" is always required to make albums visible.new.py script automates the creation of album and photo pages, so you just drop images in a folder.assets folder, run python new.py album-name, and the theme generates all the content pages for you.linebreak: true on a photo to break the gallery and feature that image, optionally with a description below it.draft: true to hide a photo from the published version while keeping it in the content.weight on photos to control the display order, and set the album cover with the photo key in _index.md.Install the theme by cloning the repository and setting theme: garbage-collector-photo-blog-theme in your Hugo config. Then create an album:
assets folder (e.g., my-photos-album) and add your pictures.python new.py my-photos-album from your Hugo site root (the script can be symlinked from the theme folder)._index.md to set the album thumbnail and optional tags; each photo's markdown page can be tuned with YAML options.Yes, the theme is licensed under the MIT License, so it is free to use, modify, and distribute.
The page does not state a minimum Hugo version, but it is built for standard Hugo theme configuration using config.yaml and the assets/ directory.
Yes. Set params.allowPhotoDownload to false in your Hugo config.yaml to hide the download button on photo pages.
The theme's image handling relies on Hugo's assets pipeline, so it supports the common web formats Hugo processes (JPEG, PNG, WebP, etc.) — the example photos use .jpg files.
General design elements like buttons and navigation use SimpleCSS; the Creative Commons license formatter uses Remix Icons, available under Apache License 2.0.