Make WordPress Core

Opened 8 years ago

Last modified 3 years ago

#14137 closed enhancement

EXIF tag DateTimeDigitized not always present — at Version 4

Reported by: MMN-o Owned by:
Milestone: Priority: normal
Severity: minor Version: 3.0
Component: Upload Keywords: has-patch
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)

#1 @MMN-o
8 years ago

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

#2 @MMN-o
8 years ago

  • Keywords DateTime added

#3 @MMN-o
8 years ago

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

#4 @nacin
8 years ago

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