0

I created two fields in templavoila and want to access the image url (data object) from the other field.

field1 - typoscript - type: image:

10 = IMG_RESOURCE
10.file.import = uploads/tx_templavoila/
10.file.import.current = 1
10.file.import.listNum = 0
10.file.maxH = 300

field2 - typoscript:

10 = IMG_RESOURCE
10.file.import.data = field1

But id doesn't work. I tried various variations of the above, but nothing works :(

Any help would be appreciated! Thanks,

Mark.

4

1 回答 1

0

对象应该是 IMAGE 类型而不是 IMG_RESOURCE。并在 field2 打字稿上:

10 = IMAGE
10.file.import.field = field1
10.file.import = uploads/tx_templavoila/
10.file.import.listNum = 0
10.file.maxH = 300

这应该显示在字段类型图像“field1”上上传的图像。
希望这可以帮助!
科妮莉亚

于 2012-02-09T11:44:38.397 回答