Scout — Full Product Context → feature documentation

Share photo

Share one of your own Album photos in Scout's "I earned this." frame, as a picture made on your phone or as a link that lasts 7 days.

Summary

Open one of your own visit photos in the Album and tap the share button. Share photo shows the photo in the one Scout frame: "I earned this." in a script hand, the place's patch large and tilted beside its name, the day and the place, the Scout wordmark, and the outline of the boundary you crossed to earn the patch, in that place's interest colour. Pick Story (9:16) or Post (4:5), then Save it to Photos or Share it. Both are made on the phone and upload nothing.

Share a link · 7 days uploads that one photo for a week and gives you a link, scout-patches.com/m/<code>, that anyone can open in a browser. After 7 days the link and the photo delete themselves.

It is free for every account. There is always a frame: no "No frame" choice, and one frame only (Alan, 2026-12-04).

Status

User-facing surfaces

How it works

  1. The screen reads the photo from the Album's own records (visitPhotos), the patch from the synced catalog, the unlock day from your collected patches, the interest from the catalog taxonomy (patchInterest) and the boundary from the patch's geofence (GET /api/location/geofence/:patchId, cached). Nothing is fetched for the photo itself. The screen shows its skeleton only while a boundary fetch is in flight, so the picture made is always the card on screen. A fetch that failed, or one that cannot start because the phone is offline and the boundary was never cached, counts as answered: the card comes at once and prints the site. The wait is for the first answer only: if the phone reconnects while the card is up, the card stays and takes its line in place.
  2. The card is drawn at export size (1080 wide) and scaled down for the preview. Save, Share and Create link mount a second, full-size copy off screen and capture it once its images have drawn and the headline has been fitted to its width.
  3. Create link (usePhotoShareLink, mobile/src/hooks/usePhotoShareLink.ts:27): POST /api/shared-memories with { kind: 'photo', patchId, day }; the photo is shrunk to 1080 px and re-encoded (which drops its location metadata) and uploaded to the one presigned slot; the Story-size card is uploaded as the link's preview; then commit. If the photo can't be read, nothing is committed and the link never goes live.
  4. The server (backend/src/shared-memories/shared-memories.service.ts:150, photoRow) writes a one-photo row: over "I earned this", the day formatted by the server, one slot. Commit refuses a photo link without exactly its one photo. From there it is a shared memory: private S3, copies under live/, the daily sweep at 7 days, removal with the account (on-this-day).

Data model

API surface

Key files

Configuration and flags

Edge cases and known limits

What this feature does NOT do

Tests that cover it

Open questions