[TYPO3-dev] typoscript values for image is ignored
Brian Bendtsen
nightowl at galnet.dk
Sun Dec 23 11:52:06 CET 2007
Hi
Suddenly my typoscript values for an image is ignored.
My php code:
$img = $this->conf['listImage.'];
$arrayImages = explode(',',$this->internal['currentRow']['image']);
foreach ($arrayImages as $value) {
$img['file'] = 'uploads/tx_a11catalog/'.$value;
$images .= $this->cObj->IMAGE($img);
And in my ext_typoscript_setup.txt file I have this:
plugin.tx_a11catalog_pi1.listImage = IMAGE
plugin.tx_a11catalog_pi1.listImage.file.width = 300
And yet the image get a width value of 600.
If I enter this line:
echo $img['file.']['width'];
the value is printet to the screen
Any help is apreciated
/Brian
More information about the TYPO3-dev
mailing list