Skip to content

Brittny Ann Photography

Live

A near-zero-cost photography site with auto-generating galleries and private client delivery

Built by · Launched June 2026

Brittny Ann Photography screenshot
web nextjscloudflarer2client-work

What is Brittny Ann Photography?

Brittny Ann Photography is a family and couples photographer in Logan, Utah, serving Cache Valley. The site needed to do two jobs: be a warm, photo-forward shopfront that books sessions, and be the place clients come to view and download their photos. It also needed to cost almost nothing to run, because it is a new, part-time business.

The Build

This is a Next.js 15 site running on Cloudflare, engineered around a single idea: keep the cost near zero by designing around $0 egress.

Key technical decisions:

  • Private R2 bucket, no public URL. Original photos live in Cloudflare R2, which charges no egress fees. The bucket is never exposed directly; a single worker is the only public read path for images.
  • On-the-fly resizing with Cloudflare Images. The worker resizes originals to web sizes on demand and edge-caches them, so full-resolution files never leave storage during normal browsing.
  • Folder-as-gallery. Brittny drops photos into a folder in the bucket and a gallery appears. A scheduled worker reconciles the bucket with the database, creating galleries and, for private ones, an unguessable share code.
  • Watermarked public galleries, private client delivery. Public galleries are watermarked and view-only. Private galleries are reached by share code and allow full-resolution downloads through short-lived presigned links.
  • Portable by design. Storage and database are reached over Cloudflare’s HTTP APIs rather than runtime bindings, so the same code runs on any Node host.

Results

Brittny has a professional, fast site that books sessions and delivers client galleries, running on infrastructure that costs almost nothing while the business is small and can scale up without re-architecting.

Build log: building a near-zero-cost photography site, and the bug that took it down.

Frequently Asked Questions

Does Vient build websites for photographers and small businesses in Cache Valley?
Yes. Brittny Ann Photography is an example of Vient's client work for local businesses. Vient builds custom websites and web apps for photographers, salons, contractors, and other small businesses around Logan and Cache Valley, Utah. The contact page is the fastest way to start a project.
How does the photo gallery system work?
Photos are dropped into a Cloudflare R2 bucket, one folder per gallery. A scheduled worker reconciles the bucket with the database, so a new folder becomes a gallery automatically. A public/ prefix makes a gallery a watermarked, view-only public gallery; a private/ prefix makes it a private client gallery with an unguessable share code and full-resolution downloads.
Why was it built to run on Cloudflare R2 and Images?
To keep the running cost near zero for a new, part-time business. Cloudflare R2 charges no egress fees, so serving images does not rack up bandwidth bills, and Cloudflare Images resizes originals on the fly so the site only ever ships web-sized photos. The original full-resolution files never leave the private bucket except through short-lived presigned download links.
How are private client galleries kept secure?
Private galleries are never indexed or linked publicly. Each one is reached by an unguessable share code (about 48 bits of entropy), and the image worker refuses to serve a private photo unless the request carries a valid, unexpired share code that owns that gallery. Full-resolution downloads use short-lived presigned URLs straight from storage.