WordPress.org

Make WordPress Core

Opened 5 years ago

Last modified 11 months ago

#14137 new enhancement

EXIF tag DateTimeDigitized not always present — at Version 4

Reported by: MMN-o Owned by:
Milestone: Future Release Priority: normal
Severity: minor Version: 3.0
Component: Upload Keywords: has-patch dev-feedback
Focuses: Cc:

Description (last modified by nacin)

Shooting images with my Nokia N900 will only fill in EXIF data for "DateTimeOriginal", not the tag "DateTimeDigitized" which Wordpress solely uses.

Grabbing data from DateTime and/or DateTimeOriginal would increase the amounts of correct EXIF date data collected when uploading images.

Attaching sample original image from my camera. CLI tool 'exif' when grep:ed with 'Date' outputs the following for the attached image:

Date and Time       |2010:06:25 15:47:14
Date and Time (origi|2010:06:25 15:47:14

'exif --list-tags *jpg|grep Date' results in the following (* meaning data exists):

  0x0132 Date and Time                   *      -      -      -      -   
  0x9003 Date and Time (original)        -      -      *      -      -   
  0x9004 Date and Time (digitized)       -      -      -      -      -  

wp-admin/includes/image.php has the function which retrieves this metadata.

Change History (4)

comment:1 @MMN-o5 years ago

File not attached, but linked here:
http://ccou.se/files/2010/06/20100625_015.jpg

comment:2 @MMN-o5 years ago

  • Keywords DateTime added

comment:3 @MMN-o5 years ago

  • Keywords image added
  • Summary changed from EXIF DateTimeDigitized not always presented to EXIF tag DateTimeDigitized not always present

comment:4 @nacin5 years ago

  • Description modified (diff)
Note: See TracTickets for help on using tickets.