T2: Fix createAssetFromPicked() to pass original File (preserve EXIF) #33
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fix: createAssetFromPicked() now passes original File with EXIF
The "Create Asset" button was using
readAsDataURL -> atob -> Blobwhich stripped all EXIF metadata. The manual form received an empty photo.Changes
manualPhotoFile = pickedPhotoFiledirectly (preserves EXIF)manualPhotoBlob = pickedPhotoFile(preserves EXIF)extractGpsFromPhoto()Commit
eaa2dab- fix: createAssetFromPicked() now passes original File with EXIFThe original File now flows through to
submitManualAssetwhereexifr.parse()re-embeds EXIF on the server.