[Typo3] $this->cObj->IMAGE($img)

Pierre pierre at web-lance.com
Sat Feb 26 00:19:31 CET 2005


Pierre a écrit :
> Pierre a écrit :
> 
>> Hi there,
>>
>> I need to find some documentation about this but i don't find any .. i 
>> use it in an extension of photo gallery with session handling to 
>> download a zip of chosen file... And i want something like when you 
>> click on the thumbnail you have a popup window opening in bigger 
>> dimension to have a better look onto the pic.
>> I really don't know how to do that in the TYPO3 way ?
>> And by the way where can i find some doc about the session hadling of 
>> TYPO3 ?
>> Thanks a lot for any help
>> Cheers
>> Pierre
> 
> Ok so i've found this :
> 
> ---cut---
> $img['file']=$this->conf['basePath'].$this->currentDir.'/'.$file;
> $img['file.']['maxW'] = '200';
> $img['file.']['imageLinkWrap'] = '1';
> $img['file.']['imageLinkWrap.']['enable'] = '1';
> $img['file.']['imageLinkWrap.']['wrap'] = '<A ref="javascript:close();"> 
> | </A>';
> $img['file.']['imageLinkWrap.']['bodyTag'] = '<BODY bgColor=white>';
> $img['file.']['imageLinkWrap.']['width'] = '760m';
> $img['file.']['imageLinkWrap.']['height'] = '480';
> $img['file.']['imageLinkWrap.']['JSwindow'] = '1';     
> $img['file.']['imageLinkWrap.']['JSwindow.']['newWindow'] = '1';
> $img['file.']['imageLinkWrap.']['JSwindow.']['expand'] = '17,20';
> ---cut---
> 
> But it doesn't work ? where am i going wrong please ?
> By the way i've found a the end of the TSref a part about session 
> handling..looks cool
> Thanks for all
> Pierre
it's ok thanks a lot :)
too many file in this script, isn't it :)
cheers
pierre



More information about the TYPO3-english mailing list