Free HTML template

Aperture: Free Photography HTML Template

Aperture is a free photography HTML template for portrait, wedding and landscape photographers. The home page opens on one full-screen photograph, then shows your collections, an about section, your sessions and prices, how booking works and an inquiry form that asks for the date and location. A second page holds your portfolio: a masonry grid you can filter by type, with a full-screen viewer that works with arrow keys and swipes. It is plain HTML and CSS with a little JavaScript, so you can edit it in any text editor and host it free on your own domain.

Version
1.0.0
Released
December 5, 2026
Download
1103 KB ZIP
License
Zerotheme License
Aperture photography website template home page with a full-screen mountain lake photo

What's included

Page or section What it does
Header Your name, which sits over the hero photo and turns solid when visitors scroll, plus a "Check your date" button
Hero One full-screen photograph with a headline, a short line on what you shoot and an optional caption for where it was taken
Collections Three large tiles (Portraits, Weddings, Landscapes) that open the portfolio already filtered
About Your photo, a short story in your own voice and three facts about how you work
Sessions Three packages with "from" prices and what each includes; each button preselects that session in the form
How it works Four steps from first message to finished gallery
Client words and FAQ One quote from a real client, and answers to the questions you get most
Inquiry form Name, email, session, date, location and a message
Portfolio page A filterable masonry grid with captions and a full-screen lightbox: arrow keys, swipe, Esc to close, and focus back where you were

Technical details: HTML5 and CSS3, no framework, no build step. Mobile-first layout, with a Lighthouse performance target of 95 or above on mobile. Gallery images load lazily and carry their real width and height, so the page does not jump. The lightbox uses the browser's own <dialog> element, and without JavaScript each photo link still opens the image. Includes ProfessionalService structured data on the home page and ImageGallery structured data on the portfolio page.

Keep a photography site fast

A photography site is mostly images, so file size decides how fast it feels. Export the hero at about 1,600 to 2,000 pixels wide and gallery photos at 1,200 to 1,600 pixels on the long side, and keep each file under 400 KB. WebP files are usually smaller than JPEG at the same quality. Keep your full-resolution files in a client gallery service rather than on the site: anything shown on a web page can be saved, so modest sizes protect your work too.

Customize it in five steps

  1. Edit the text in index.html: your name, city, about section and contact details. Comments mark every spot to change.
  2. Set your sessions and prices. The prices in the demo are samples; replace them with your own, or remove the prices if you quote each job.
  3. Add your photographs to gallery.html, one <figure> per photo, and set each one's data-tags so the filter buttons work.
  4. Connect the inquiry form by pasting your form service's endpoint into the form's action attribute.
  5. Add a real client quote, with permission, or delete that section until you have one.

Step-by-step screenshots are in our guide on how to customize an HTML template.

Publish it free

Drag the folder into Netlify or Cloudflare Pages, or push it to GitHub Pages. All three are free for a site like this. See how to host a website for free, or compare options in free static website hosting.

License

Aperture is released under the Zerotheme template license: free for personal and commercial projects, including sites you build for clients. A credit link in the footer is appreciated but optional. You may not resell the template itself or redistribute it as part of a template collection.

The demo photographs were generated for this template, and the photographer, facts and prices in it are fictional. Replace them with your own work.

Changelog

  • 1.0.0 (December 5, 2026): first release.
See every collection