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.
