EXIF tag DateTimeDigitized not always present — at Version 4
|Reported by:||MMN-o||Owned by:|
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.