[TYPO3-dev] typoscript values for image is ignored

Brian Bendtsen nightowl at galnet.dk
Sun Dec 23 15:59:07 CET 2007


Widmann, Manfred skrev:
> "Brian Bendtsen" <nightowl at galnet.dk> schrieb im Newsbeitrag 
> news:mailman.1.1198407126.8111.typo3-dev at lists.netfielders.de...
>> 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
> shouldn't it be ... maxW="300m"
> 
> 
>> 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 
> 
> 
Possibly, but this usually also works
/BB




More information about the TYPO3-dev mailing list