简体   繁体   中英

f:uri.image inline-Viewhelper does not work

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?

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)}

尝试使用{f:uri.image(image:'{data.image.0}')} ,请注意转义

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM