Changeset 12796 for trunk/include/picture_metadata.inc.php
- Timestamp:
- Dec 27, 2011, 6:26:44 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/picture_metadata.inc.php
r12131 r12796 27 27 */ 28 28 29 // $picture['current']['high_url'] may not be set if the user has no access30 // to the high definition, but we may want to display metadata and read the31 // high definition is available32 $high_url = null;33 if (isset($picture['current']['high_url']))34 {35 $high_url = $picture['current']['high_url'];36 }37 else38 {39 $high_url = get_high_url($picture['current']);40 }41 29 42 30 include_once(PHPWG_ROOT_PATH.'/include/functions_metadata.inc.php'); … … 50 38 51 39 $exif = get_exif_data($picture['current']['image_path'], $exif_mapping); 52 if (count($exif) == 0 and $picture['current']['has_high'])53 {54 $exif = get_exif_data($high_url, $exif_mapping);55 }56 40 57 41 if (count($exif) > 0) … … 97 81 { 98 82 $iptc = get_iptc_data($picture['current']['image_path'], $conf['show_iptc_mapping']); 99 if (count($iptc) == 0 and $picture['current']['has_high'])100 {101 $iptc = get_iptc_data($high_url, $conf['show_iptc_mapping']);102 }103 83 104 84 if (count($iptc) > 0)
Note: See TracChangeset
for help on using the changeset viewer.