Feature #20996 » patch-csc.patch
typo3/sysext/css_styled_content/pi1/class.tx_cssstyledcontent_pi1.php (Arbeitskopie) | ||
---|---|---|
// Render one image
|
||
if($origImages[$imgKey][0]==0) {
|
||
$imageSpace=$this->cObj->data['imagewidth'] + $border*($borderSpace+$borderThickness)*2;
|
||
$imageSpace= ((intval($this->cObj->data['imagewidth']) == 0) ? $maxW : $this->cObj->data['imagewidth']) + $border*($borderSpace+$borderThickness)*2;
|
||
} else {
|
||
$imageSpace = $origImages[$imgKey][0] + $border*($borderSpace+$borderThickness)*2;
|
||
$imageSpace = ((intval($origImages[$imgKey][0]) ==0) ? $maxW : $origImages[$imgKey][0]) + $border*($borderSpace+$borderThickness)*2;
|
||
}
|
||
$GLOBALS['TSFE']->register['IMAGE_NUM'] = $imgKey;
|