Last modified: 2014-02-12 23:55:15 UTC
EXIF data doesn't appear to be showing up on some mobile uploads. For example: https://commons.wikimedia.org/wiki/File:A_double_rainbow_in_San_Francisco_2013-03-30_21-33.jpg https://commons.wikimedia.org/wiki/File:A_raccoon_rex_2013-03-31_13-47.jpg https://commons.wikimedia.org/wiki/File:%D0%A4%D0%BB%D0%BE%D1%80%D0%B5%D0%BD%D1%86%D0%B8%D1%8F_2013-03-31_12-55.jpg I checked with the first uploader; he was on iPhone OS 6.1.2/Safari. Not sure which device/OS the other users were on, if this is a MFE problem at all, or if these users just have strangely-configured device settings.
Only looked at the first image. It has 2 exif tags only (Orientation, ColorSpace), which should have been displayed. We can extract them fine: https://commons.wikimedia.org/w/api.php?prop=imageinfo&action=query&iiprop=metadata&titles=File:A_double_rainbow_in_San_Francisco_2013-03-30_21-33.jpg&iilimit=max It does seem to lack most exif tags, which is odd, but they are legitimately not in the image, so its not the display-metadata-code on the php side's fault.
We don't modify image files in any way before uploading them in MobileFrontend. My bet would be a strangely-configured device or some app that they used to manipulate the photo which stripped some EXIF data.
That was my thought, too... but given that EXIF data is missing from images uploaded by me on my own phone, I can definitely rule out the "some app that they used to manipulate the photo which stripped some EXIF data" theory ;) I'm also fairly confident that my device configuration has not changed, and yet something must have happened between December of last year (https://commons.wikimedia.org/wiki/File:Lead_Photo_For_Special-DonateImage0-2856860763859004.JPG), when my images *did* have EXIF data, and now, when they don't (https://commons.wikimedia.org/wiki/File:Live_crawfish_on_wooden_deck-_2013-04-16_14-58.jpg). I haven't updated my OS since then; still on iPhone 4/iOS 6.1.2. The only possible thing I can think of is some Safari update... maybe?
I don't seem to have this problem on my Galaxy Nexus. I just ran some various tests on test wiki and all photos via gallery/camera have been uploaded with exif data. I'm guessing this is a browser specific problem. Can we link this to certain devices?
Tried from gallery AND camera on iphone 6.1.2 and failed to upload with EXIF data on test wiki to test wiki (ie. not commons, not CORS). Investigating..
This suspect this to be a 'feature' of ios 6 - EXIF data is stripped in file uploads. It seems various other people are experiencing this problem, this blog post [1] and this github issue [2] included. Upstream bug - up to Apple to fix. [1] http://revk.www.me.uk/2012/09/ios6-file-upload-strips-exif-data.html [2] https://github.com/remvee/exifr/issues/31
Might be a feature not a bug ;) If i recall, iPhone's were getting some heat about people putting pictures of themselves on social media sites with their location to an accuracy of 2 meters, without the person realizing it
RESOLVED CANTFIX...? Oh.. that doesn't seem to be an option :(
(In reply to comment #8) > RESOLVED CANTFIX...? Oh.. that doesn't seem to be an option :( Use INVALID and explain why? I prefer to keep things simple and stupid and not add many more resolutions for cornercases we might face.
ios 6.1.2 strips EXIF data. There's not much we can do about that it seems. Please reopen if there is.