Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
A gatsby theme featuring a minimalistic design based on a bold image grid.

A GatsbyJS starter that ports Christine Cha's Gridfolio portfolio theme with SCSS, ESLint, and Prettier.
Gatsby Theme Photography Portfolio is a Gatsby theme that converts a folder of images into a minimalistic photography portfolio built around a bold image grid, with every photo opening its own fullscreen page. It was created by AlexanderProd and is published on npm as gatsby-theme-photography-portfolio.
Gatsby Theme Photography Portfolio is a Gatsby theme for building a photography portfolio site whose main interface is a large image grid; the rest of the UI is hidden behind a hamburger menu so the photos remain the focus. As input it takes a directory of images (default images at the site root), and as output it produces a static Gatsby site with a grid homepage, fullscreen pages per image, and category grouping based on subfolders. It is built on Gatsby and uses gatsby-plugin-sharp and gatsby-plugin-image to generate optimized image sizes, which keeps loading times short. The project is maintained by AlexanderProd and a live demo is available at photography.alexanderhoerl.de.
gatsby-plugin-sharp and gatsby-plugin-image produce responsive, compressed image variants so the grid and fullscreen views load quickly.imagesPath option (default images) lets you point the theme at a different source directory.After installing the theme with npm install gatsby-theme-photography-portfolio, you add it to the plugins array in your gatsby-config.js file and optionally set a basePath. Images are placed in the images directory (or a custom imagesPath); the theme scans that directory and builds the grid, fullscreen pages, and category sections from the folder structure.
For a new site, run npx gatsby new gatsby-photography-portfolio https://github.com/AlexanderProd/gatsby-starter-photography-portfolio. For an existing Gatsby site, install the theme with npm install gatsby-theme-photography-portfolio, add it to your gatsby-config.js plugins array, and put images in the images directory.
Place images in subfolders inside the images directory. Each subfolder becomes a category automatically, and the theme groups those images for quick flipping between fullscreen pages.
Yes — the theme includes swipe gesture support, so visitors can swipe between fullscreen images on touch screens. Keyboard arrow navigation is also possible on desktop.
The default image path is images in the site root, and the basePath defaults to /. Both can be changed in the theme options in gatsby-config.js.
A live demo of the theme is hosted at photography.alexanderhoerl.de, and AlexanderProd provides a starter repository for quickly creating a new Gatsby site with the theme.
