1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-19 04:01:30 +02:00

Update Iptc to include SubLocation and CreationTime

This commit is contained in:
Hari Padmanaban
2015-10-11 20:34:12 -05:00
parent 44c9a6bb29
commit 6527a8270e

View File

@@ -36,9 +36,11 @@ class IptcCommand extends AbstractCommand
$data['Keywords'] = isset($iptc["2#025"][0]) ? $iptc["2#025"] : null;
$data['SpecialInstructions'] = isset($iptc["2#040"][0]) ? $iptc["2#040"][0] : null;
$data['CreationDate'] = isset($iptc["2#055"][0]) ? $iptc["2#055"][0] : null;
$data['CreationTime'] = isset($iptc["2#060"][0]) ? $iptc["2#060"][0] : null;
$data['AuthorByline'] = isset($iptc["2#080"][0]) ? $iptc["2#080"][0] : null;
$data['AuthorTitle'] = isset($iptc["2#085"][0]) ? $iptc["2#085"][0] : null;
$data['City'] = isset($iptc["2#090"][0]) ? $iptc["2#090"][0] : null;
$data['SubLocation'] = isset($iptc["2#092"][0]) ? $iptc["2#092"][0] : null;
$data['State'] = isset($iptc["2#095"][0]) ? $iptc["2#095"][0] : null;
$data['Country'] = isset($iptc["2#101"][0]) ? $iptc["2#101"][0] : null;
$data['OTR'] = isset($iptc["2#103"][0]) ? $iptc["2#103"][0] : null;