[TYPO3] thumbnail scaling problem

horace horace3d at gmail.com
Sat Sep 20 18:18:19 CEST 2008


On Sat, Sep 20, 2008 at 5:29 PM, horace <horace3d at gmail.com> wrote:

> Not easy for beginner. You have to read about maxW and maxH in TSRef/IMG_RESOURCE. There is a recipe there. Next you'll need to modify the TS that renders these images. You can find it in the TS object browser, look in tt_content entry and deep down there.
>
> thanks! i have looked those things up like you have suggested and then
> tried this in my template:
>
> tt_content.image.20.maxW = 160
>
> now the thumbnails are 44x33 which is way too small. isn't this strange?
>

i have experimented some more...

tt_content.image.20.equalH >

if i do this then the width of all images is contrained to 160 like i want
but now the height of some images gets out of the 120 limit.

i have also experimented with many other combinations of maxW, maxH,... and
so on which i found in tt_content.image.20 and TSRef/IMG_RESOURCE.



isn't it possible somehow to constrain every thumbnail of an image content
element to the 160x120 limits? that's all i would like to achieve.


More information about the TYPO3-english mailing list