Question

I think I am experiencing this ages-old behaviour in a TYPO3 6.1 site http://forge.typo3.org/issues/15522

As soon as there is more than one image in a textpic field, this TypoScript

tt_content.image.20.maxWInText = 300

will produce very small images - their size is the given rendering size divided by number of images.

So with three images in a textpic element, this will give me three 100px wide images.

How can this be set to work normally (value 300 applied to each image?)

EDIT: I'm posting the full config I've been using:

imgWidth=CASE
imgWidth{
    key.field = header_layout
    default=TEXT
    default.value=1000
    1=TEXT
    1.value=1000
    2=TEXT
    2.value=500
    3=TEXT
    3.value=300
    4=TEXT
    4.value=500
    5=TEXT
    5.value=300
    6=TEXT
    6.value=500
    7=TEXT
    7.value=300
    8=TEXT
    8.value=0
    9=TEXT
    9.value=0
    10=TEXT
    10.value=150
    10=TEXT
    10.value=1000
}   

tt_content.image.20.maxWInText.cObject < imgWidth
tt_content.image.20.maxW.cObject < imgWidth
Was it helpful?

Solution

This setting is supposed to affect the width occupied by all images in a column. Therefore it must effect all images.

You should take a look at

tt_content.image.20.maxW
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top