Bug #17581 ยป 6261.diff

Administrator Admin, 2008-08-15 02:47

View differences:

t3lib/class.t3lib_stdgraphic.php (working copy)
2171 2171
				}
2172 2172

  
2173 2173
				$command = $this->scalecmd.' '.$info[0].'x'.$info[1].'! '.$params.' ';
2174
				$cropscale = ($data['crs'] ? 'crs-V'.$data['cropV'].'H'.$data['cropH'] : '');
2174
				$cropscale = ($data['crs'] ? 'crs-W'.$data['cropWidth'].'H'.$data['cropHeight'] : '');
2175 2175

  
2176 2176
				if ($this->alternativeOutputKey)	{
2177 2177
					$theOutputName = t3lib_div::shortMD5($command.$cropscale.basename($imagefile).$this->alternativeOutputKey.$frame);
......
2332 2332
		if (strstr($w.$h, 'c')) {
2333 2333
			$out['cropH'] = intval(substr(strstr($w, 'c'), 1));
2334 2334
			$out['cropV'] = intval(substr(strstr($h, 'c'), 1));
2335
			$out['cropWidth'] = $w;
2336
			$out['cropHeight'] = $h;
2335 2337
			$crs = true;
2336 2338
		} else {
2337 2339
			$crs = false;
    (1-1/1)