Use IPTC Title when Headline not available (#216)

This commit is contained in:
Tobias Reich 2014-08-26 16:07:59 +02:00
parent 0387581005
commit f302f65cd7

View File

@ -528,6 +528,9 @@ class Photo extends Module {
$temp = @$iptcInfo['2#120'][0];
if (isset($temp)&&strlen($temp)>0) $return['description'] = $temp;
$temp = @$iptcInfo['2#005'][0];
if (isset($temp)&&strlen($temp)>0&&$return['title']==='') $return['title'] = $temp;
}
}