[TYPO3-UG US] [typo3 us] Resize an image inside a plugin?

JoH info at cybercraft.de
Wed Jun 14 05:45:11 CEST 2006


> $imgTSConfig = $this->conf['personImage.'];
> $imgTSConfig['file'] = 'uploads/tx_plugin/' .
> $this->internal['currentRow'][$fN];
> $imgTSConfig['file']['width'] = 50;  //NOTE NEW LINE
> return $this->cObj->IMAGE($imgTSConfig);
> </code>
>
> But this just makes Typo3 render the name of the current page inside
> the HTML, rather than an html <img> tag.

$imgTSConfig['file.']['width'] = 50;
                          ^^
Try adding the dot.

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your knob sometimes!)
Dieter Nuhr, German comedian
openBC: http://www.cybercraft.de





More information about the TYPO3-UG-US mailing list