Changeset 4682


Ignore:
Timestamp:
Jan 15, 2010, 11:47:19 AM (11 years ago)
Author:
plg
Message:

feature 620: if no exif/iptc found in the "web resized" photo, then we search
into the high definition picture if available. Thanks to Jochen Roth (Polly)
for the patch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0/admin/include/functions_metadata.php

    r4680 r4682  
    142142    {
    143143      $exif = get_sync_exif_data($file);
     144      if (count($exif) == 0 and isset($data['high_filesize']))
     145      {
     146        $exif = get_sync_exif_data($high_file);
     147      }
    144148      $data = array_merge($data, $exif);
    145149    }
     
    148152    {
    149153      $iptc = get_sync_iptc_data($file);
     154      if (count($iptc) == 0 and isset($data['high_filesize']))
     155      {
     156        $iptc = get_sync_iptc_data($high_file);
     157      }
    150158      $data = array_merge($data, $iptc);
    151159     
Note: See TracChangeset for help on using the changeset viewer.