Display image in grid

Hi All,

I have added a png image in AOT Resources node. I need to display this image in Grid. There is a checkbox in the datasource table. If it is yes, I the image will be displayed, else it will be blank. If it is possible through using the macro Resappl or is there any alternate way to achieve the same. Similar thing has been done in CustOpenTrans form, but in my case, it didn't work.

Pls help.

Best Regards,