Project

General

Profile

Bug #17581 ยป 6261.diff

Administrator Admin, 2008-08-15 02:47

View differences:

t3lib/class.t3lib_stdgraphic.php (working copy)
}
$command = $this->scalecmd.' '.$info[0].'x'.$info[1].'! '.$params.' ';
$cropscale = ($data['crs'] ? 'crs-V'.$data['cropV'].'H'.$data['cropH'] : '');
$cropscale = ($data['crs'] ? 'crs-W'.$data['cropWidth'].'H'.$data['cropHeight'] : '');
if ($this->alternativeOutputKey) {
$theOutputName = t3lib_div::shortMD5($command.$cropscale.basename($imagefile).$this->alternativeOutputKey.$frame);
......
if (strstr($w.$h, 'c')) {
$out['cropH'] = intval(substr(strstr($w, 'c'), 1));
$out['cropV'] = intval(substr(strstr($h, 'c'), 1));
$out['cropWidth'] = $w;
$out['cropHeight'] = $h;
$crs = true;
} else {
$crs = false;
    (1-1/1)