[TYPO3-english] Render image

Jeppe Donslund jd at webmasters.dk
Mon Jan 11 13:32:48 CET 2010


Hi

I have earlier used this piece of code to render and scale images in my 
extensions.
But now it does work in my new extension.

$imgConf['file'] = 'uploads/pics/'.$billeder[$i];
$imgConf['file.']['width'] = 157;

$imageFile = $this->cObj->cObjGetSingle('IMAGE', $imgConf);

What is wrong?

Regards
Jeppe Donslund


More information about the TYPO3-english mailing list