Project

General

Profile

Bug #17708 » bug_6561_tslib_content.diff

Administrator Admin, 2007-10-20 16:37

View differences:

typo3/sysext/cms/tslib/class.tslib_content.php 2007-10-20 15:15:28.000000000 +0200
$imgMax = intval($this->stdWrap($conf['imgMax'],$conf['imgMax.']));
if ($imgMax) {
$imgCount = t3lib_div::intInRange($imgCount,0,$conf['imgMax']); // reduces the number of images.
$imgCount = t3lib_div::intInRange($imgCount,0,$imgMax); // reduces the number of images.
}
$imgPath = $this->stdWrap($conf['imgPath'],$conf['imgPath.']);
......
);
}
$imgsTag[$imgKey] = $this->IMAGE($imgConf);
$imgsTag[$a] = $this->IMAGE($imgConf);
// Store the original filepath
$origImages[$imgKey]=$GLOBALS['TSFE']->lastImageInfo;
$origImages[$a]=$GLOBALS['TSFE']->lastImageInfo;
$imageRowsFinalWidths[floor($a/$colCount)] += $GLOBALS['TSFE']->lastImageInfo[0];
if ($GLOBALS['TSFE']->lastImageInfo[1]>$imageRowsMaxHeights[floor($a/$colCount)]) {
(2-2/5)