diff --git a/static/index.html b/static/index.html index 6867fce..ee23efb 100644 --- a/static/index.html +++ b/static/index.html @@ -994,12 +994,12 @@
📸 -
Tap to take photo
+
Tap to choose photo
- +
@@ -2608,6 +2608,16 @@ manualPhotoBlob = null; // reuse existing declaration let manualPhotoGps = null; + function openManualCamera() { + // Camera shortcut — EXIF won't survive but quick for field use + const inp = document.createElement('input'); + inp.type = 'file'; + inp.accept = 'image/*'; + inp.capture = 'environment'; + inp.onchange = handleManualPhotoFile; + inp.click(); + } + async function handleManualPhotoFile(event) { const file = event.target.files?.[0]; if (!file) return;