Image Metadata
-
Hi, David!
I’m getting better at finding the solutions, but this one continues to stump me. I’m trying to do the EXIF field mapping.
The metadata for the image showing on the WP edit media page is:
‘image_meta’ =>
array (
‘aperture’ => ‘0’,
‘credit’ => ‘Arthur Smith’,
‘camera’ => ”,
‘caption’ => ‘This is the Title’,
‘created_timestamp’ => ‘0’,
‘copyright’ => ”,
‘focal_length’ => ‘0’,
‘iso’ => ‘0’,
‘shutter_speed’ => ‘0’,
‘title’ => ‘This is the Title’,
‘orientation’ => ‘0’,
‘keywords’ =>
array (
),When I do ALL_EXIF, I get:
”array (
‘FileName’ => ‘ca_los_angeles_san_gabriel_cemetery.jpg’,
‘FileDateTime’ => 1488127956,
‘FileSize’ => 55986,
‘FileType’ => 2,
‘MimeType’ => ‘image/jpeg’,
‘SectionsFound’ => ‘ANY_TAG, IFD0, EXIF, WINXP’,
‘COMPUTED’ => ‘(ARRAY)’,
‘ImageDescription’ => ‘This is the Title’,
‘Artist’ => ‘Arthur Smith’,
‘Exif_IFD_Pointer’ => 2136,
‘Title’ => ‘This is the Title’,
‘Comments’ => ‘T’ . “\0” . ‘h’ . “\0” . ‘e’ . “\0” . ‘s’ . “\0” . ‘e’ . “\0” . ‘ ‘ . “\0” . ‘a’ . “\0” . ‘r’ . “\0” . ‘e’ . “\0” . ‘ ‘ . “\0” . ‘c’ . “\0” . ‘o’ . “\0” . ‘m’ . “\0” . ‘m’ . “\0” . ‘e’ . “\0” . ‘n’ . “\0” . ‘t’ . “\0” . ‘s’ . “\0” . ‘ ‘ . “\0” . ‘f’ . “\0” . ‘o’ . “\0” . ‘r’ . “\0” . ‘ ‘ . “\0” . ‘t’ . “\0” . ‘h’ . “\0” . ‘i’ . “\0” . ‘s’ . “\0” . ‘ ‘ . “\0” . ‘i’ . “\0” . ‘m’ . “\0” . ‘a’ . “\0” . ‘g’ . “\0” . ‘e’ . “\0” . ‘.’ . “\0″ . ” . “\0″ . ” . “\0″ . ”,
‘Author’ => ‘A’ . “\0” . ‘r’ . “\0” . ‘t’ . “\0” . ‘h’ . “\0” . ‘u’ . “\0” . ‘r’ . “\0” . ‘ ‘ . “\0” . ‘S’ . “\0” . ‘m’ . “\0” . ‘i’ . “\0” . ‘t’ . “\0” . ‘h’ . “\0″ . ” . “\0″ . ” . “\0″ . ”,
‘Keywords’ => ‘Here is a Tag’,
‘Subject’ => ‘This is the subject.’,
‘WINXP’ => ‘(ARRAY)’,
)”(I don’t understand all the weirdness in “Comments” and “Author” but left it there in case YOU know what to do with that. 🙂 )
I have the two boxes checked for Enable IPTC/EXIF Mapping. All of the following have NONE for IPTC value, EXIF for Priority and Replace.
Title: template:([+xmp:Title+])
ALT Text: template:([+xmp:Title+])
Description: template:([+xmp:Subject+])It’s updating, but I can’t seem to get anything useful in the “Description” field. Is this because they are present in the ALL_EXIF result, but not in the ‘image_meta’ =>’ array?
While I was typing this, I clued into the COMPUTED array and tried:
template:([+COMPUTED:Comments+]) and template:([+COMPUTED.Comments+]) and
template:([+COMPUTED:Subject+]) and template:([+COMPUTED.Subject+]) but I’m still getting “This is the Title” in the Description field.
The topic ‘Image Metadata’ is closed to new replies.