Index: typo3/sysext/cms/tslib/content/class.tslib_content_imageresource.php =================================================================== --- typo3/sysext/cms/tslib/content/class.tslib_content_imageresource.php (revision 9214) +++ typo3/sysext/cms/tslib/content/class.tslib_content_imageresource.php (revision ) @@ -42,8 +42,17 @@ * @return string Output */ public function render($conf = array()) { + $GLOBALS['TSFE']->lastImgResourceInfo = $this->cObj->getImgResource($conf['file'], $conf['file.']); - return $this->cObj->stdWrap($GLOBALS['TSFE']->lastImgResourceInfo[3], $conf['stdWrap.']); + + $imageResource = $GLOBALS['TSFE']->lastImgResourceInfo[3]; + + $theValue = isset($conf['stdWrap.']) + ? $this->cObj->stdWrap($imageResource, $conf['stdWrap.']) + : $imageResource; + + return $theValue; + } }