# Photo selection

## Sub-features

Saved preview confirmation, Change photo, option B guide, desktop drop zone, mobile camera/upload buttons, new-photo confirmation, local photo preservation. The same guide appears on size upload.

## How to get to it (user POV)

Open Try it on. A saved photo opens confirmation. Choose Change photo, or Use another photo after an error, to reach the picker. A first visit opens the picker directly. A size entry uses the same picker.

## Driving it with Playwright

Run the helper. It clicks Use another photo, asserts five checks and five labeled examples, measures overflow, uploads via `input[type=file]`, and confirms the resulting preview. Inspect the guide screenshots at 390 and 320 pixels. AvatarUpload unit tests cover camera switching; Woo's size/cart browser tests cover the adjacent size entry.

## Gotchas

The guide is hidden in confirmation and camera views. No body outline or live photo-quality detector exists. Real camera permissions and hardware need separate device QA. The mobile modal close button replaces the desktop Cancel action. The helper uses synthetic local image bytes, never a shopper photo.
