[TYPO3] Loading an image

Jeppe Donslund jd at webmasters.dk
Tue Nov 27 09:38:00 CET 2007


Shouldn't it be

$conf['file'] = 'http://localhost/typo3/fileadminquickstart/img1.jpg';
$Img = $this->lCObj->IMAGE($conf['file']);


Jeppe D.


frank skrev:
> Good morning:
> 
> I am modifying code from Library FrontEnd Plugins. I want to load an image
> using code.
> 
> I use the following instruction:
> 
> $conf['file'] = 'http://localhost/typo3/fileadminquickstart/img1.jpg';
> $Img = $this->lCObj->IMAGE($conf);
> 
> The file and path exists and the image is not being shown
> 
> Is there something missing?
> 
> 
> 
> Thank you very much.
> 
> 
> 
> Frank
> 
> 
> 


More information about the TYPO3-english mailing list