Project

General

Profile

Bug #17708 » bug_6561_csc_v3.diff

Administrator Admin, 2007-10-21 12:54

View differences:

typo3/sysext/css_styled_content/pi1/class.tx_cssstyledcontent_pi1.php 2007-10-21 11:46:31.000000000 +0200
$splitArr = $GLOBALS['TSFE']->tmpl->splitConfArray($splitArr, $imgCount);
$imageRowsFinalWidths = Array(); // contains the width of every image row
$imgsTag = array();
$imgsTag = array(); // array index 0 will be the first shown image
$origImages = array();
for ($a=0; $a<$imgCount; $a++) {
$imgKey = $a+$imgStart;
......
$imgConf['emptyTitleHandling'] = 'removeAttr';
}
}
$imgsTag[$imgKey] = $this->cObj->IMAGE($imgConf);
$imgsTag[$a] = $this->cObj->IMAGE($imgConf);
} else {
$imgsTag[$imgKey] = $this->cObj->IMAGE(Array('file' => $totalImagePath)); // currentValKey !!!
$imgsTag[$a] = $this->cObj->IMAGE(Array('file' => $totalImagePath)); // currentValKey !!!
}
// Restore our ATagParams
$GLOBALS['TSFE']->ATagParams = $oldATagParms;
// Store the original filepath
$origImages[$imgKey] = $GLOBALS['TSFE']->lastImageInfo;
$origImages[$a] = $GLOBALS['TSFE']->lastImageInfo;
$imageRowsFinalWidths[floor($a/$colCount)] += $GLOBALS['TSFE']->lastImageInfo[0];
}
(4-4/5)