Changeset 13038 for trunk/include/derivative.inc.php
- Timestamp:
- Feb 6, 2012, 9:59:20 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/derivative.inc.php
r12954 r13038 28 28 public $rel_path; 29 29 30 public $coi=null;31 30 private $size=null; 32 31 private $flags=0; … … 35 34 { 36 35 global $conf; 37 36 38 37 $this->id = $infos['id']; 39 38 $ext = get_extension($infos['path']); … … 55 54 } 56 55 57 $this->coi = @$infos['coi'];58 56 if (!$this->size && isset($infos['width']) && isset($infos['height'])) 59 57 { … … 168 166 $tokens=array(); 169 167 $tokens[] = substr($params->type,0,2); 170 171 if ($params->sizing->max_crop != 0 and !empty($src->coi))172 {173 $tokens[] = 'ci'.$src->coi;174 }175 168 176 169 if ($params->type==IMG_CUSTOM) … … 258 251 return $this->src_image->get_size(); 259 252 } 260 return $this->params->compute_final_size($this->src_image->get_size() , $this->src_image->coi);253 return $this->params->compute_final_size($this->src_image->get_size()); 261 254 } 262 255
Note: See TracChangeset
for help on using the changeset viewer.