[TYPO3] keep image ratio when resizing
typo3 at gramba.de
Fri Apr 21 19:34:09 CEST 2006
i use this:
$this->conf['image.']['file.']['maxW'] = 50;
$this->conf['image.']['file.']['maxH'] = 26;
basically maxH and maxW - this makes it in ratio also. Very neat to use.
> Hey guys,
> I am creating some thumbnails of images via TS, and I need the image to be
> 80x80. Now, I can set the width and height okay, but sometimes the picture
> is squished. How can I keep the ration of the pic when it's resized?
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
More information about the TYPO3-english