Using the @src expression allows for placement of the gv-img's src url.

Expression

@src
    

Works With

  • gv-img

Basic

Example

<div gv-img style="background-image:url('@src');"></div>
    

Pro Tips

Need to allow users to add their own custom background image to a div? Use Governor Expression @src to set the image path with inline-styles.

Did this answer your question?