Project

General

Profile

Feature #18849 ยป my_cImage_Hook.patch

Administrator Admin, 2008-05-25 18:28

View differences:

class.tslib_content.php 2008-05-25 18:16:44.000000000 +0200
} elseif ($conf['imageLinkWrap']) {
$theValue = $this->imageLinkWrap($theValue,$info['origFile'],$conf['imageLinkWrap.']);
}
// Hook: Call post processing function for image tag rendering:
if (isset($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_content.php']['cImage_PostProc']) && is_array($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_content.php']['cImage_PostProc'])) {
$_params = array(
'conf' => &$conf,
'file' => &$file,
'imgTag' => &$theValue,
);
foreach ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_content.php']['cImage_PostProc'] as $_funcRef) {
t3lib_div::callUserFunction($_funcRef, $_params, $this);
}
}
return $this->wrap($theValue,$conf['wrap']);
}
}
    (1-1/1)