谁能告诉我如何获得当前的图像文件名。我必须链接当前图像才能在灯箱中打开它。
我的代码:
15 = TEXT
15 {
field = image
split {
token = ,
cObjNum = 1 || 3 || 3
//ignore
1....
3 {
10 = IMAGE
10.file.import.current = 1
10.file.import = uploads/pics/
10.file.maxW = 270
10.params = class="hidden"
10.imageLinkWrap = 1
10.imageLinkWrap {
enable = 1
typolink.parameter = TEXT
typolink.parameter.field = image
typolink.parameter.listNum.splitChar = ,
typolink.parameter.listNum = // <- Need current image number
typolink.parameter.wrap = /uploads/pics/|