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

Nik Wakelin munkywrench at gmail.com
Wed Jun 14 05:54:37 CEST 2006


Thank you so much!

Next time I'm in where-ever you live, I owe you a beer!


On 6/14/06, JoH <info at cybercraft.de> wrote:
> > $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
>
>
> _______________________________________________
> TYPO3-UG-US mailing list
> TYPO3-UG-US at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-ug-us
>


-- 
[ munkywrench development ]
http://munkywrench.co.nz
munkywrench at gmail.com
(027) 424 5433



More information about the TYPO3-UG-US mailing list