Photography is a portfolio website template for landscape and travel photographers, built on Bootstrap 5. The layout is responsive and mobile-ready and works in all popular web browsers. It comes with three pages: a home page, an article page and an elements page.
The home page has a full-screen photo slider, an about block, a sixteen-photo gallery that opens in a lightbox, a call-to-action band, three blog cards and a contact form. The article page shows a long-form post with photos, and the elements page collects buttons, typography, a table, lists, a photo gallery and form controls. Photography gives you a ready-made site to present your pictures and write about the trips behind them.
What’s new in 3.0
Bootstrap 5.3 (the earlier release used Bootstrap 4.0 and jQuery), compiled from Sass with the original proportions, and plain JavaScript with no jQuery. PhotoSwipe replaces the old lightbox, native selects replace Nice Select, and npm run build (Dart Sass and esbuild) compiles one minified stylesheet and one script.
Lighter pages: the three pages together went from 10.6 MB and 131 requests to 2.7 MB and 97 requests, and the download from 11.0 MB to 9.5 MB. Every photo has an AVIF version with the JPEG as the fallback, real dimensions and lazy loading below the first screen; the full-size gallery photos load only when one is opened.
No third-party requests: Poppins is self-hosted, the Linearicons and Font Awesome 4 icon fonts are replaced by Lucide SVG icons and a small social-logo subset (the Twitter bird is now the X logo), scripts that used to load from CDNs are gone, and a Google Analytics 4 snippet stays commented out until you add your own ID.
A new set of landscape, trail and camera photos from Unsplash replaces the original pictures, and each slider slide now has its own title and text. The blog cards have their own titles, authors and dates and link to the article page.
Accessibility: skip link, one heading level 1 per page, a keyboard-operable menu button, labelled form fields and a visible focus ring. The purple-to-green gradient is a little darker than before so the white text on it passes AA contrast.
A working contact form: it posts to a PHP handler with a spam trap and server-side checks, shows sending, error and success messages, and ships with a placeholder recipient address for you to set.