How to add an image to Layout cell


Hello. I am trying to place an image into a layout cell (id=”row1_col1”).

The only reference I can find in the forum is for v5 and it doesn’t appear to work for v6? This is what I’m using:

layout.cells(“row1_col1”).setBG("/images/menu/chevron_left.jpg", “#3c7a9f”);

How can this be done in v6?

How do I then add a hyperlink to this image to trigger a js function?

Thank you!