[TYPO3-english] Failed trial to set image sizes depending of colPos

Tapio Markula tapio.markula at xetpoint.fi
Mon Oct 20 17:25:02 CEST 2008


Hi

temp.customRender = CASE
temp.customRender {
   key.field = colPos
   default < tt_content
   0 < tt_content
   3 < tt_content
   23 < tt_content
   0.image.20 < tt_content.image.20
   0.image.20.maxW = {$styles.content.imgtext.maxW}
   0.image.20.maxWInText = {$styles.content.imgtext.maxWInText}
   3.image.20 < tt_content.image.20
   3.image.20.maxW = {$styles.content.imgtext.maxWBorder}
   3.image.20.maxWInText = {$styles.content.imgtext.maxWInTextBorder}
   23.image.20 < 3.image.20
}
tt_content < temp.customRender

that doesn't work - image has not been shown at all. What is wrong?


More information about the TYPO3-english mailing list