Project

General

Profile

Bug #17893 » imagespace.diff

Administrator Admin, 2007-12-06 10:50

View differences:

typo3/sysext/css_styled_content/pi1/class.tx_cssstyledcontent_pi1.php (working copy)
}
// Render one image
$imageSpace = $origImages[$imgKey][0] + $border*($borderSpace+$borderThickness)*2;
if($origImages[$imgKey][0]==0) {
$imageSpace=$this->cObj->data['imagewidth'] + $border*($borderSpace+$borderThickness)*2;
} else {
$imageSpace = $origImages[$imgKey][0] + $border*($borderSpace+$borderThickness)*2;
}
$GLOBALS['TSFE']->register['IMAGE_NUM'] = $imgKey;
$GLOBALS['TSFE']->register['IMAGE_NUM_CURRENT'] = $imgKey;
$GLOBALS['TSFE']->register['ORIG_FILENAME'] = $origImages[$imgKey]['origFile'];
(1-1/2)