基于布局的 Typoscript 图像大小
Typoscript image size based on layout
我想根据使用打字稿的布局设置图像高度等。我的设置非常适合设置图像环绕等,但我无法设置高度...
文档似乎表明我这里的内容应该有效:
temp.image < tt_content.image.20
tt_content.image.20 = CASE
tt_content.image.20 {
key.field = layout
default < temp.image
1 < temp.image
1 {
1.file.width =
1.file.height = 50m
}
}
tt_content.textpic.20 = < tt_content.image.20.default
有人知道我做错了什么吗?
而不是 1.file.height = 50m
我需要使用:
equalH >
equalH = 50m
我想根据使用打字稿的布局设置图像高度等。我的设置非常适合设置图像环绕等,但我无法设置高度...
文档似乎表明我这里的内容应该有效:
temp.image < tt_content.image.20
tt_content.image.20 = CASE
tt_content.image.20 {
key.field = layout
default < temp.image
1 < temp.image
1 {
1.file.width =
1.file.height = 50m
}
}
tt_content.textpic.20 = < tt_content.image.20.default
有人知道我做错了什么吗?
而不是 1.file.height = 50m
我需要使用:
equalH >
equalH = 50m