Products  /  Afrasiabi Studio
Own studio · Site, CMS & tools

Afrasiabi Studio

A photography studio's website, the editor behind it, and the small tools that grew out of its shoots.

Afra Afrasiabi Studio is our own photography studio in Dubai, and this is the software it runs on: a fast static portfolio, a visual editor that works the way a photographer sorts a shoot, and private proposal pages for clients. A crew board for casting models, makeup, hair and photographers came out of the same productions.

Static siteMasonry + lightboxFlask + SQLiteAVIF / WebPPrivate proposalsCasting board
Afrasiabi Studio
Afrasiabi Studio on iPhone
41Pages on the public site
6Image widths, each in AVIF and WebP
3Price tiers in every proposal calculator
8Crew roles on the casting board
The brief

A site that looks like photographs.

A photography studio is judged by its pictures before anyone reads a word, so the site had to get out of their way. The public website is a static export: a full-screen cover, a Work page of section tiles, and albums laid out as a masonry wall that opens into a lightbox. Titles are set in Acme Gothic Condensed, everything else stays quiet, and every photo is served as AVIF or WebP at the width the screen actually needs. There is even a switch to see the whole site in black and white.

Editing a hand-built static site usually means editing HTML. The studio's CMS instead follows how a photographer works: pick a section, open a shoot, drop in the photos, drag them into order and choose the cover. It shows the site as a tree of sections and projects with photo counts, lets you set where a banner crops on desktop and on phone separately, rebuilds the optimized image sizes in the background, and backs up every page before it changes it. The site stays plain static files; the editor only rewrites them.

The other tools came from real productions. When a fashion client asked for a budget, a long PDF would not do, so proposals became private web pages with a calculator the client can play with: outfits, days, studio or location, with or without video, priced from rates the studio sets in the CMS. Casting for those shoots lived in chat threads, so Crew Board gathers models, makeup artists, hair stylists and photographers in one shared database, puts each production on its own board, and lets the client's team pick and rank people without seeing contact details or internal notes.

Visual layer

Interface

  • Full-bleed cover, section tiles and masonry albums with a lightbox, in the studio's navy and brown with condensed display titles
  • An editor that shows real thumbnails, aspect ratios and separate desktop and phone crops instead of HTML
  • Proposal pages and crew boards in the same type and palette as the public site
Technical layer

Architecture

  • A static site served by nginx; the CMS is a Flask and SQLite app that edits those files atomically and keeps a backup of each one
  • Uploads are checked, re-encoded and turned into six widths of AVIF and WebP, with originals kept in object storage
  • Proposals and Crew Board run as separate small containers behind their own logins, with signed sessions and rate-limited sign-in
Functional layer

Studio workflow

  • Add a section or a shoot, reorder photos, set covers and keep the menu in step across every page
  • Proposal calculators read published low, mid and high rates, so a price change never means re-sending a document
  • Casting by role and status, star ratings, comments, and client picks ranked and gathered for the organizers
Inside Afrasiabi Studio
In detail · 48 features

From the shoot to the site.

A photography studio's public website, the editor behind it, private proposal pages and a casting board, all built around how a shoot actually runs.

01

Public website

Everything is static files, so the pictures arrive first.

One photograph to enter

The home page is a single full-screen image and an Enter link, followed by a Work page of section tiles that also form the menu.

Masonry albums

Each shoot opens as a short note and a masonry wall of photos that open full size in a lightbox.

Drag down to close

In the lightbox a photo can be dragged down to close it on phones and trackpads, without the drag counting as a tap.

Black and white mode

A switch shows the whole site in black and white and is remembered across pages, applied before the page paints.

Colour on hover

On desktop, album photos sit in grey and warm into colour under the pointer; on phones and tablets they stay in full colour.

Sized for each screen

Every photo is served as AVIF or WebP in up to six widths, dithered so smooth studio backdrops do not band.

Quiet prefetching

After the first screen loads, banners, tiles and covers are fetched in the background, skipped on data-saver or slow connections.

Videos load on tap

Video pages show a still with a play button and only load the privacy-enhanced YouTube player when it is tapped.

02

Inquiry form

Only what is needed

Photography, videography or both, project type, date, name and phone are required; email, location, deliverables and notes are optional.

Sensible dates

The date cannot be in the past or more than three years out, judged in the studio's own time zone.

Saved before sent

Each inquiry is stored with its own reference number before any email goes out, and the visitor sees that reference.

Two emails

The studio gets a summary with a WhatsApp link and reply-to set to the client, and the client gets a confirmation if they left an email.

Retries on failure

Failed sends are retried every five minutes, for seven days for the studio's copy and two hours for the confirmation.

Spam limits

Five inquiries an hour per visitor, capped confirmations, a hidden trap field and a minimum fill time; bots get a polite fake success.

03

Visual editor

Edits follow how a photographer sorts a shoot, not how HTML is written.

The site as a tree

Every section and shoot with its cover and photo count; any part of the site opens for editing from there.

New sections and shoots

Adding a section creates its page and tile, and the menu is updated on every page of the site.

Contact-sheet ordering

Drag photos into order, shift-click or select all, set a cover, and hide a shoot from a section without deleting its page.

Separate desktop and phone crops

Drag inside a banner or tile to choose what it shows on a laptop and, separately, on a phone.

Photos and video

Upload photos, add MP4, WebM or MOV files that play muted on a loop, or paste a YouTube link.

Words around the pictures

Title, a line under it, an optional explanatory note and a search-engine description for each page.

Publish when ready

Changes collect in a bar until published, Ctrl or Cmd plus S saves, and discarding asks first.

No silent overwrites

If a page was changed in another window, saving stops and asks for a reload instead of overwriting it.

04

Photo handling

Uploads checked

Photos must really be JPEG, PNG or WebP, up to 95 MB and 12,000 pixels; videos are checked by their file signature.

Originals kept private

The full-resolution file goes to private object storage, and the site gets a 2048-pixel copy at once.

Web sizes in the background

A worker builds the AVIF and WebP sizes, shows the photo as optimizing meanwhile, then refreshes every page that uses it.

Self-repairing queue

Every five minutes any photo on a page that still lacks its sizes is queued again, up to three tries.

Replace once, update everywhere

Replacing an image refreshes every page that references it.

Trash, not delete

A photo removed from a page goes to a trash folder, and only when no other page still uses it.

05

Safety net and admin

Backup before every change

Each page, image and price change keeps the previous version, which can be downloaded or restored, and all pages can be backed up at once.

One writer at a time

Pages are written atomically under a lock, so two saves can never interleave into a broken file.

Activity log

A dashboard with page, image and backup counts and a log of every admin action.

Guarded sign-in

Five wrong passwords lock the account for fifteen minutes, sign-in is rate-limited per address and every change carries a CSRF token.

Raw page editing

Title, meta description and HTML can be edited directly when needed, and an empty page is refused.

Inquiries inbox

Every inquiry with its details and whether the studio and confirmation emails were delivered.

06

Client proposals

A budget the client can shape, instead of a PDF they have to ask about.

A private page per client

Each proposal sits behind its own password, with five attempts per fifteen minutes and a signed one-day session.

Prices behind the gate

Rates are only sent to the page after sign-in, read from the file the studio publishes from the CMS.

Production calculator

Outfits, shoot days, studio or location and video on or off work out the models, photographers, stylists and rooms needed per day.

Estimate with a range

The total updates with its low-to-high range and every line item as the client changes the options.

Honest gaps

Costs not yet quoted are flagged and left out rather than counted as zero, and no estimate shows without a verified price list.

Rates edited in one place

The studio edits low, mid and high rates in the CMS, which checks they rise from tier to tier before publishing.

07

Crew Board

Casting that used to live in chat threads, on one board per production.

Shared people database

Models, makeup artists, hair stylists, photographers, videographers, stylists and assistants, reused across productions.

A board per production

Each person on a board has a status from idea to confirmed or declined and a star rating, filtered by role, status or search.

Instagram pull

From a username the board fetches the profile picture, bio, follower count and latest six posts, through a connected account when a profile is hidden.

Link previews

Portfolio and agency links show a title and thumbnail, fetched with a guard against reaching private network addresses.

Work photos

Drag-and-drop uploads with progress, re-encoded with location data removed, and any photo can become the cover or avatar.

Two teams, two views

Organizers edit everything; the client's decision makers browse without contact details, internal notes or internal comments.

Client picks

Decision makers pick people, rank them within each role and add a reason that saves as they type.

Picks gathered

Organizers see every pick by role, most-picked first, along with who on the client side has signed in.

Something like this?

We can build yours, or rebuild the one you have.