Make WordPress Core

Opened 19 years ago

Closed 13 years ago

#6819 closed defect (bug) (wontfix)

EXIF data extracted from uploaded images stored incorrectly

Reported by: matt Owned by: tellyworth
Priority: normal Milestone:
Component: Media Version: 2.5
Severity: normal Keywords: blessed
Cc: Focuses:

Description

Currently extracted EXIF data is stored as a single custom field with a serialized array containing all the data - it should be stored with one-custom-field per data entry, probably with the exif_ prefix.

Change History (5)

#1 @tellyworth
19 years ago

I agree. I stored it there in the first place so as to fit in with the existing method of storing image metadata.

I think we should move all of the image and attachment metadata into separate rows rather than a serialized array.

That serialized array is fetched and updated with wp_get_attachment_metadata() and wp_update_attachment_metadata(), so we can probably maintain API compatibility and just change the underlying storage method.

There are also some things in the attachment meta that could be cleaned up and standardized but that's probably best considered as a separate step.

#2 @arminbw
18 years ago

Please also consider issues related to the EXIF content. See: ​http://trac.wordpress.org/ticket/6819

#3 @Denis-de-Bernardy
18 years ago

  • Component Administration → Media

#4 @ryan
17 years ago

  • Milestone 2.9 → Future Release

#5 @johnbillion
13 years ago

  • Milestone Future Release
  • Resolution → wontfix
  • Status new → closed

This ship has sailed.

EXIF/IPTC data is now stored along with the rest of an image's metadata in the _wp_attachment_metadata post meta field. Additionally, this data is used to populate the attachment title and caption when present.

Note: See TracTickets for help on using tickets.