Skip to main content

Per-photo deep links now resolve across album tabs

Sharing a `?p=` link to a photo in album B no longer silently no-ops when the recipient lands on album A — the viewer auto-switches tabs and opens the lightbox.

A subtle bug. The gallery lightbox supports per-photo deep links (the Share button copies a URL with ?p=<id> appended) so you can drop a single photo into a chat and the recipient opens the gallery directly on it. Worked fine when the photo lived in the album the recipient's URL pinned. But if your URL was on album A and the link pointed at a photo in album B, the lightbox silently stayed closed.

The viewer was looking inside the currently-active album's photo set only. If the photo wasn't there, it gave up — no signal that the link even resolved.

Now there's a three-step fallback. If the photo isn't in the active album, the viewer checks the full unfiltered gallery; if it's there, the active album switches to wherever the photo lives and the lightbox opens automatically on the next render. Only if the photo is genuinely gone from the gallery does the URL silently no-op — same contract as before for stale links.

Photos that don't belong to any album resolve to the synthetic "All" tab so the auto-switch works uniformly regardless of where the photo is filed.

A small thing. Mostly invisible until you needed it.

A bride and groom embraced beneath a tunnel of sparklers at their wedding send-off
The night ends. The memory begins.
When the date is set

Create your gallery in about two minutes — then add your own touches whenever you like.

Create your gallery