[TYPO3-english] TypoScript/Fluid: get image title and description
Bernd Wilke
t3n at pi-phi.de
Thu Mar 17 08:42:23 CET 2016
Am 16.03.2016 um 18:02 schrieb Hagen Gebauer:
> Hi Bernd,
>
> thank you very much again! So: I found out that in the example you can
> call the whole template Image.html from within TextBgPic.html by just
> calling <f:format.raw>{imagePath}</f:format.raw>. So far so good. But
> still I don't seem to be able to access any image data.
>
> I unsuccessfully tried calling {publicUrl}, {image.publicUrl},
> {imagePath.publicUrl}, {data.publicUrl} and some combinations in
> Image.html. Also <f:debug>{_all}</f:debug>, called in Image.html returns
> the full array "data" of the content element but no image data.
compare the debug output from the outer template (TextBgPic.html) with
the debug output from the inner template (Image.html). there should be
some difference.
bernd
More information about the TYPO3-english
mailing list