Reputation: 591
I am trying to access an imageurl
via inlinecondition
in fluid.
The none inlineversion
works well and returns the URI of that image:
<f:uri.image image="{data.image.0}" />
returns:
fileadmin/user_upload/jumbotron.jpg
This one doesn't:
{f:uri.image(image:data.image.0)}
I have tried different versions with {}, without, with '' without ...
My environment is: TYPO3 8.2 (as I can't update cause extensions I need are only available till this version for now)
Can someone please help me?
Upvotes: 1
Views: 4473
Reputation: 591
Seems this was a bug in 8.2 - After updating to 8.4 it works like charm.
This code works:
{f:uri.image(image:data.image.0)}
Upvotes: 9
Reputation: 7939
Try using {f:uri.image(image:'{data.image.0}')}
, mind the escaping
Upvotes: 0