Changeset 8631
- Timestamp:
- Jan 12, 2011, 3:59:11 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/picture_metadata.inc.php
r6484 r8631 27 27 */ 28 28 29 // $picture['current']['high_url'] may not be set if the user has no access 30 // to the high definition, but we may want to display metadata and read the 31 // high definition is available 32 $high_url = null; 33 if (isset($picture['current']['high_url'])) 34 { 35 $high_url = $picture['current']['high_url']; 36 } 37 else 38 { 39 $high_url = get_high_url($picture['current']); 40 } 41 29 42 include_once(PHPWG_ROOT_PATH.'/include/functions_metadata.inc.php'); 30 43 if (($conf['show_exif']) and (function_exists('read_exif_data'))) … … 39 52 if (count($exif) == 0 and $picture['current']['has_high']) 40 53 { 41 $exif = get_exif_data($ picture['current']['high_url'], $exif_mapping);54 $exif = get_exif_data($high_url, $exif_mapping); 42 55 } 43 56 … … 86 99 if (count($iptc) == 0 and $picture['current']['has_high']) 87 100 { 88 $iptc = get_iptc_data($ picture['current']['high_url'], $conf['show_iptc_mapping']);101 $iptc = get_iptc_data($high_url, $conf['show_iptc_mapping']); 89 102 } 90 103
Note: See TracChangeset
for help on using the changeset viewer.