I am creating a custom section and within that, a custom block. The block will display the selected Product’s Image and Title and when clicked on, will take the user to the product page.
Everything is working perfectly except the product image. I am using the following code:
{{ product.title }}
Everything works fine except the product image does not display and instead the browser default ‘broken image’ icon shows? (please see screenshot below)
(also tried it originally with <img src=“{{ product.featured_image.src” but this also produced the same issue)
I spoke with Shopify support who also inform me that I have advanced code on my site that needs fixing - but aside from adding a few custom sections with very little code in them, I have not touched much else. They advised to post here for a Developer to assist.
Store is running on Dawn theme and is a private development store.
Many thanks
