I have form with a input of type ‘file’. The goal is for users to upload pictures from which I extract the GPS data. I have some validation on the server side to check if the metadata is present and if yes, I accept the file.
When I upload a picture from my desktop, everything works fine.
When I upload the same picture via mobile safari (iOS 6.1), my validation fails.
The only explanation I can find is that safari strip the metadata from picture before uploading them but it does not make sense to me so I am open to suggestions
Mobile Safari strip the GPS data of a picture you upload via a file input box BUT it will keep the other EXIF data. And this will happen what ever your privacy setting is.