Ignore:
Timestamp:
Jan 3, 2012, 9:21:13 PM (13 years ago)
Author:
rvelices
Message:

feature 2548 multisize

  • rewrote local site sync + metadata sync
File:
1 edited

Legend:

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

    r12797 r12831  
    4343    elseif (!empty($infos['representative_ext']))
    4444    {
    45       $pi = pathinfo($infos['path']);
    46       $file_wo_ext = get_filename_wo_extension($pi['basename']);
    47       $this->rel_path = $pi['dirname'].'/pwg_representative/'
    48         .$file_wo_ext.'.'.$infos['representative_ext'];
     45      $this->rel_path = original_to_representative($infos['path'], $infos['representative_ext']);
    4946    }
    5047    else
Note: See TracChangeset for help on using the changeset viewer.