[TYPO3-UG US] Loading an image

Dimitri Tarassenko mitka at mitka.us
Tue Nov 27 15:00:42 CET 2007


$conf['file'] has to be a local filename relative to the website
DocumentRoot, not an URL.

On Nov 27, 2007 2:47 AM, frank <eo at hot.com> wrote:

> 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
>
>
> _______________________________________________
> TYPO3-UG-US mailing list
> TYPO3-UG-US at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-ug-us
>



-- 
Dimitri Tarassenko


More information about the TYPO3-UG-US mailing list