--- a/typo3/sysext/fluid/Classes/ViewHelpers/ImageViewHelper.php 2012-09-02 16:59:00.000000000 +0200 +++ b/typo3/sysext/fluid/Classes/ViewHelpers/ImageViewHelper.php 2012-09-25 12:37:32.400536612 +0200 @@ -103,10 +103,11 @@ * @param integer $minHeight minimum height of the image * @param integer $maxWidth maximum width of the image * @param integer $maxHeight maximum height of the image + * @param array $params additional parameters to pass to getImgResource * * @return string rendered tag. */ - public function render($src, $width = NULL, $height = NULL, $minWidth = NULL, $minHeight = NULL, $maxWidth = NULL, $maxHeight = NULL) { + public function render($src, $width = NULL, $height = NULL, $minWidth = NULL, $minHeight = NULL, $maxWidth = NULL, $maxHeight = NULL, array $params = NULL) { if (TYPO3_MODE === 'BE') { $this->simulateFrontendEnvironment(); } @@ -118,6 +119,9 @@ 'maxW' => $maxWidth, 'maxH' => $maxHeight ); + if ($params !== NULL) { + $setup = $params + $setup; + } if (TYPO3_MODE === 'BE' && substr($src, 0, 3) === '../') { $src = substr($src, 3); }