Typo3 image processing
If you want to crop your image use c at the end of width and/or height. If you leave the width empty the size will just be cropped with the height value and width will be calculated down automatically and vise versa.
$arrImgParams = array(); $arrImgParams['file'] = 'juhu.jpg'; $arrImgParams['file.']['width'] = '250c'; $arrImgParams['file.']['height'] = '250c'; $arrImgParams['alttext'] = 'la li lu'; $arrMarker['###IMG###'] = $this->cObj->IMAGE($arrImgParams);
