Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/typo3/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Typo3 类型3:仅为一个变量裁剪图像_Typo3_Crop_Typoscript - Fatal编程技术网

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