Last modified: 2014-02-12 23:55:15 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T48764, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 46764 - EXIF / Metadata not showing up on mobile uploads
EXIF / Metadata not showing up on mobile uploads
Status: RESOLVED INVALID
Product: MobileFrontend
Classification: Unclassified
stable (Other open bugs)
unspecified
All All
: Normal normal
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-04-01 23:36 UTC by Maryana Pinchuk
Modified: 2014-02-12 23:55 UTC (History)
10 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Maryana Pinchuk 2013-04-01 23:36:05 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.
Comment 1 Bawolff (Brian Wolff) 2013-04-16 22:56:08 UTC
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.
Comment 2 Juliusz Gonera 2013-04-18 19:07:11 UTC
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.
Comment 3 Maryana Pinchuk 2013-04-18 20:34:41 UTC
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?
Comment 4 Jon 2013-04-18 20:35:21 UTC
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?
Comment 5 Jon 2013-04-18 21:32:48 UTC
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..
Comment 6 Jon 2013-04-18 21:53:47 UTC
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
Comment 7 Bawolff (Brian Wolff) 2013-04-18 22:06:51 UTC
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
Comment 8 Jon 2013-04-19 05:23:46 UTC
RESOLVED CANTFIX...? Oh.. that doesn't seem to be an option :(
Comment 9 Andre Klapper 2013-04-19 09:51:20 UTC
(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.
Comment 10 Jon 2013-04-24 16:34:48 UTC
ios 6.1.2 strips EXIF data. There's not much we can do about that it seems. Please reopen if there is.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links