Make WordPress Core

Opened 15 years ago

Closed 13 years ago

Last modified 13 years ago

#8573 closed enhancement (duplicate)

Image attachment Exif should be stored in individual post meta entries

Reported by: markjaquith's profile markjaquith Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.7
Component: Gallery Keywords:
Focuses: Cc:

Description

Currently, image Exif information is stored in one big serialized post meta entry. This makes it impossible to query against an individual entry (for instance, querying all images shot at 50mm).

It's easy enough to separate them out with an upgrade routine, and have new images put each Exif value in its own post meta entry. The question is backwards compatibility. Should we drop the old serialized info? Should we leave it and just not ever update it? We could make a compatibility layer (would involve a filter on postmeta updates that looks for changes to the individual keys or the serialized key, and sync changes made in one to the other).

My vote is to leave the old data, but not populate it for new attachments. Thoughts?

Change History (6)

#1 @janeforshort
15 years ago

  • Milestone changed from 2.8 to Future Release

Punting due to time constraints, will reconsider for upcoming release cycle. Media changes planned for 2.9/3.0.

#2 @Denis-de-Bernardy
15 years ago

  • Keywords needs-patch added

#3 @Denis-de-Bernardy
15 years ago

  • Milestone changed from Future Release to 2.9

#4 @ryan
15 years ago

  • Milestone changed from 2.9 to Future Release

#5 @johnbillion
13 years ago

  • Keywords needs-patch removed
  • Resolution set to duplicate
  • Status changed from new to closed

#6 @SergeyBiryukov
13 years ago

  • Milestone Future Release deleted
Note: See TracTickets for help on using tickets.