Using dynamic data in inline css

Hi all!

I’m trying something relatively easy - adding a background image to a div - but I cannot get it to work.

<div style="height: 200px; width: 100%; background-image: url({Field image});"></div>

Any thoughts on what the correct syntax here would look like?

Thanks a lot. :raised_hands:

Try {Field image_url}

3 Likes

Thanks for your reply!

Your suggestion worked perfectly. I’m still learning, but getting there. :wink:

2 Likes

See Attachment, here in the doc: Attachment | Loops & Logic

2 Likes