TYPO3 6.0: Render images of current page from border column in FAL
That's sounds better to me :
COL3 = CONTENT
COL3 {
table = tt_content
select {
where = colPos = 3
}
renderObj = FILES
renderObj {
references {
table = tt_content
fieldName = image
}
renderObj = IMAGE
renderObj {
file.import.data = file:current:publicUrl
}
}
}
I presume the select
attribute does not work with references
.
Try this solution (not tested) to use with any content element.
...
references {
table = tt_content
uid.data = uid
fieldName = image
}
Another idea:
COL3 = CONTENT
COL3 {
table = tt_content
select {
where = colPos = 3
}
renderObj = FILES
renderObj {
references {
table = tt_content
fieldName = image
}
renderObj = TEXT
renderObj {
data = file:current:publicUrl
wrap = <img src="|">
}
}
}