WordPress.org

Make WordPress Core

Opened 4 years ago

Last modified 3 years ago

#41409 new enhancement

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

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

Description

  • 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 4 years ago.
41409.2.diff (1.6 KB) - added by geminorum 4 years ago.

Download all attachments as: .zip

Change History (3)

@geminorum
4 years ago

@geminorum
4 years ago

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


3 years ago

Note: See TracTickets for help on using tickets.