I am trying to display an image in a product list and tried the following:
<list empty-message="No products assigned to you yet">
        <list-item query="products">
            <header>{name}</header> 
            <content><display-image src='{icon}'/></content> 
            <footer></footer> 
            <accent color="info" />
        </list-item> 
</list>
Is this possible, and if so what is the correct way/approach?
PS: The data model contains icon and name:
 <model name="product" label="Product">
        <field name="icon" label="Icon" type="photo"/>
        <field name="name" label="Name" type="text:name"/>
        <field name="code" label="Code" type="text"/>
        <belongs-to model="user"/>
        <display>{name}</display>
    </model>