Site: câmara in-page para Tirar foto (iPhone) #130

Merged
spark merged 1 commits from task/126-selfie-camera into main 2026-10-28 01:21:27 +00:00
Owner

Summary

  • Replace <input capture> with in-page front camera (getUserMedia → JPEG), same idea as the kiosk.
    iPhone was still failing: system camera often returns HEIC or the hidden file input does not fire reliably.
  • Harden gallery HEIC→JPEG with an <img> fallback when createImageBitmap fails.
  • Same fix on archive find and gallery Encontra-te.

Test plan

  • On iPhone Safari at fpa.photoreport.pt archive: Tirar foto asks for camera, shows preview, Capturar runs search
  • Deny camera → clear message + can still use Escolher da galeria
  • Escolher da galeria with a JPEG still works
## Summary - Replace `<input capture>` with in-page front camera (`getUserMedia` → JPEG), same idea as the kiosk. iPhone was still failing: system camera often returns HEIC or the hidden file input does not fire reliably. - Harden gallery HEIC→JPEG with an `<img>` fallback when `createImageBitmap` fails. - Same fix on archive find and gallery Encontra-te. ## Test plan - [ ] On iPhone Safari at fpa.photoreport.pt archive: Tirar foto asks for camera, shows preview, Capturar runs search - [ ] Deny camera → clear message + can still use Escolher da galeria - [ ] Escolher da galeria with a JPEG still works
spark added 1 commit 2026-10-28 01:10:39 +00:00
Site: open the front camera in-page for Tirar foto
ci / rust (pull_request) Successful in 5m30s
ci / typescript (pull_request) Successful in 8m27s
1b1dadda6c
iPhone file+capture often returns HEIC or fails the hidden input.
Use getUserMedia like the kiosk so the probe is always JPEG.
spark merged commit f847cbff56 into main 2026-10-28 01:21:27 +00:00
Author
Owner

Merged and live on fpa.photoreport.pt — bundle now includes getUserMedia selfie capture. On iPhone: Tirar foto → allow camera → Capturar.

Merged and live on fpa.photoreport.pt — bundle now includes getUserMedia selfie capture. On iPhone: Tirar foto → allow camera → Capturar.
Sign in to join this conversation.