ogv52a
Last Updated: July 12, 2017
·
39
· webfacer
1ac40ea49b742e19deae3940d1228472

Typo3 7.6.xx - Croping a Image via PHP cObject Configuration

function getImage($file,$width,$height){
$imgConf = array();
$imgConf['file'] = $file;
$imgConf['file.']['width'] = $width.'c';
$imgConf['file.']['height'] = $height.'c';
return $this->cObj->Image($imgConf);
}

Say Thanks
Respond