Ignore:
Timestamp:
Dec 27, 2011, 6:26:44 AM (13 years ago)
Author:
rvelices
Message:

feature 2541 multisize

  • core implementation + usage on most public/admin pages
  • still to do: sync process, upload, gui/persistence for size parameters, migration script, center of interest ...
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/picture_metadata.inc.php

    r12131 r12796  
    2727 */
    2828
    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 }
    4129
    4230include_once(PHPWG_ROOT_PATH.'/include/functions_metadata.inc.php');
     
    5038
    5139  $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   }
    5640 
    5741  if (count($exif) > 0)
     
    9781{
    9882  $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   }
    10383
    10484  if (count($iptc) > 0)
Note: See TracChangeset for help on using the changeset viewer.