Feature #23970 ยป tslib_content_IMG_RESOURCE.diff
typo3/sysext/cms/tslib/content/class.tslib_content_imageresource.php (revision ) | ||
---|---|---|
* @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;
|
||
|
||
}
|
||
|
||
}
|