Typo3 类型3:仅为一个变量裁剪图像
我有点像Typo3 类型3:仅为一个变量裁剪图像,typo3,crop,typoscript,Typo3,Crop,Typoscript,我有点像 page.10.variables { content < styles.content.get content.stdWrap.wrap = <div class="content">|</div> content.select.where = colPos = 0 teaser < styles.content.get teaser.select.where = colPos = 4 teaser
page.10.variables {
content < styles.content.get
content.stdWrap.wrap = <div class="content">|</div>
content.select.where = colPos = 0
teaser < styles.content.get
teaser.select.where = colPos = 4
teaser.stdWrap.wrap = <div class="teaser">|</div>
teaser.stdWrap.required = 1
}
page.10.1变量{
content
我希望裁剪{striser}
中的图像,同时保留{content}
中未裁剪的图像。如何管理
我目前正在运行T37.4,但我也正在将其升级到7.6.2。您可以按如下方式设置每列的不同图像大小:
temp.tt_content.image < tt_content.image
tt_content.image = CASE
tt_content.image {
key.field=colPos
1 < temp.tt_content.image
2 < temp.tt_content.image
3 < temp.tt_content.image
default < temp.tt_content.image
1.20.width= 145c #col-02
2.20.width= 190c #col-04
3.20.width= 100c
1.20.height= 145c #col-02
2.20.height= 190c #col-04
3.20.height= 100c
default.20.maxW= 345
}
temp.tt_content.image >
temp.tt_content.image