[TYPO3-english] Forcing .png files with $this->cObj->IMG_RESOURCE

Bert Hiddink hiddink at bendoo.com
Thu Sep 24 11:56:18 CEST 2009


Hello!

I have the following:

...
$iconConf = array(
    'file' => $imgpath.$image,
    'file.' => array(
      'width' => '36',
      'format' => 'png',
    ),
);

$img= $this->cObj->IMG_RESOURCE($iconConf);
...

However, this still gives me a resized .jpg instead of a .png.

I know I can do that with the GIFBUILDER-object but could I not just add 
this param to the array $iconConf???


Many thanks in advance!!!!

-brt



-- 
Vriendelijke groeten,
Bert Hiddink

---------------------
BENDOO e-work solutions
Harterinkdijk 8
7065 AR SINDEREN
The Netherlands
Tel. 0315 244525
http://www.bendoo.nl
hiddink at bendoo.nl
---------------------


More information about the TYPO3-english mailing list