[TYPO3-english] Image Rendering from FAL / TypoScript / Gifbuilder
Martin Wagner
martin.wagner at iue.tuwien.ac.at
Wed Aug 7 16:43:35 CEST 2013
Hi folks,
I currently struggle with the rendering of image data from FAL in TYPO3 6.1 in my extension. In an extension I use the cObject Viewhelper to display a TS element, which I deliver a set of data:
{data -> f:cObject(typoscriptObjectPath: 'plugin.tx_contentelements_staticbox.corner')}
The according TS element is
plugin.tx_contentelements_staticbox.corner = FILES
plugin.tx_contentelements_staticbox.corner {
references {
table = tt_content
uid.data = uid
fieldName = image
}
renderObj = IMAGE
renderObj {
file.import.data = file:current:originalUid
}
}
what delivers the image as expected. I now want to extend the image rendering using the Gifbuilder. Thus, I extended the renderObj as
plugin.tx_contentelements_staticbox.corner = FILES
plugin.tx_contentelements_staticbox.corner {
references {
table = tt_content
uid.data = uid
fieldName = image
}
renderObj = IMAGE
renderObj {
file = GIFBUILDER
file {
XY = 210,110
10 = IMAGE
10.file.import.data = file:current:originalUid
# 20, 30, 40, ...
}
}
}
what leads to an image with the correct rendering of subelements 20, 30, and 40 but no original image as of element 10. Does anybody have a hint why this does not work, or how I could get this to work, respectively?
Thanks in advance,
Martin
More information about the TYPO3-english
mailing list