[Typo3-dev] $this->cObj->IMAGE without any html in it?

Dominic Stockdale dom at 3ev.com
Mon Sep 29 15:31:03 CEST 2003


> It seems like I don't see the problem...
> 
> Why not just like this:
> 
> $conf = array(
>   'file' => 'asdf.gif',
>   'file.' => array(
>     'width' => '200'
>   ),
> );
> 
> $fileName = $this->cObj->IMG_RESOURCE($conf);
> 
> - Ingmar
> 
Your right Ingmar. I had it working in any case with some messy regex 
using blah blah ->IMAGE($conf); I just overlooked IMG_RESOURCE but found 
  it after I'd build the extension and tidied it up. Thanks anyway.





More information about the TYPO3-dev mailing list