Make WordPress Core

Opened 7 years ago

Last modified 5 years ago

#41409 new enhancement

No point in storing empty EXIF/IPTC data on post meta table

Reported by: geminorum's profile geminorum Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.9
Component: Media Keywords:
Focuses: performance Cc:


  • Post meta tables are bloated with often not used EXIF/IPTC data for each image attachments.
  • wp_read_image_metadata() generates aperture, credit, camera, caption, created_timestamp, copyright, focal_length, iso, shutter_speed, title, orientation, keywords. and the data often stored as empty key/value pairs on each attachment metadata.
  • I see no problem on filling default/empty values upon retrieving the data.
  • and mentioning the core currently has no way of using stored image_meta.

Attachments (2)

41409.diff (1.6 KB) - added by geminorum 7 years ago.
41409.2.diff (1.6 KB) - added by geminorum 7 years ago.

Download all attachments as: .zip

Change History (3)

7 years ago

7 years ago

This ticket was mentioned in Slack in #core-media by joemcgill. View the logs.

5 years ago

Note: See TracTickets for help on using tickets.