Opened 14 years ago
Closed 11 years ago
#94 closed defect (wontfix)
exif data handling for users
Reported by: | Deb Nicholson | Owned by: | |
---|---|---|---|
Priority: | trivial | Milestone: | |
Component: | programming | Keywords: | |
Cc: | deletesoftware@… | Parent Tickets: |
Description (last modified by )
At some point, we will need to address exif data. I think it would be nice for the user to be able to access and search for their exif data, but we also want to be able to let the user scrub it before posting to their network. The best case is where the user has access to exif data by default and the viewer does not. Usecase 1: I want to search for all the photos from my trip to Greece 4 years ago using my exif data. Usecase 2: I do not want people to access the exif info for my kid's elementary school or my company's colo. Usecase 3: I want to see the exif info for last year's awesome mushroom foraging spot, but absolutely do not want it made public. Finely tuned control of exif data would represent a tangible feature that we could offer that is not offered by flickr. I don't have a strong opinion about how this would look on the back end. On the front end it should be very clear what's happening and the default should be to strip it out before posting so no one posts exif data unless they specifically choose to.
Change History (7)
comment:2 by , 13 years ago
Aaron, That sounds right. Actually, we have the perfect place for this. EXIF data is media-specific (that is to say, it's image-specific... it doesn't apply to music). I've already created a field for media-specific stuff. See MediaEntry's 'media\_data' dict. I think we could populate it like so: :: # media_data already should be set as a probably-empty dict media_entry['media_data']['exif'] = { 'iso_speed': 100, 'flash': 0} etc.
comment:3 by , 13 years ago
I'm not sure how this would be indexed under the new regime. Previously, it would have looked something like :: db.MediaEntry.ensureIndex( { media_data : 1 } ); # not sure if this is realistic, but finding exifs with iso_speed >= 100: db.MediaEntry.find( { media_data { exif: { $gte : { iso_speed: 100 } } } } ) `http://www.mongodb.org/display/DOCS/Indexes <http://www.mongodb.org/display/DOCS/Indexes>`_ EDIT: maybe dot notation would also work well for exact matching: :: db.MediaEntry.find( { media_data.exif.iso_speed: 100 } ) If that works...gotta love mongodb
comment:4 by , 13 years ago
Let's not worry about indexing this for now. I think most things in here don't **need** to be indexed... I don't think we'll be searching on them for now. We just want to display the data. In the future, we may want to take advantage of the geospatial indexing, but let's condsider that in the glorious future I guess :)
comment:6 by , 13 years ago
Cc: | added |
---|
comment:7 by , 11 years ago
Description: | modified (diff) |
---|---|
Resolution: | → wontfix |
Status: | accepted → closed |
I'm closing this bug... I really don't see any clear and interesting way to move forward on it. We *do* have exif support, and we do display it.
One thing that's different in Deb's original post was the ability to clean out EXIF during processing, or make EXIF only available to certain people. I think that sounds interesting-ish, but probably this could be done as a plugin now that we have such abilities.