When using
<s-image />
Inside customer-account.order-index.announcement.render target, I get this error:
index.DK8oKcVd.js:34 Component s-image is not allowed to be rendered within customer-account.order-index.announcement.render
This would be used to render small svg icons and tiny images, is this expected or something that we can resolve ?
Thanks!
Luke
June 17, 2026, 7:28pm
2
Maybe try this?
The product thumbnail component displays small preview images representing products. Use product thumbnail to provide visual identification in lists, order summaries, or cards where space is constrained and quick recognition is important.
Otherwise, as it states, it just isn’t supported in that target.
Thanks for the suggestion @Luke !
We wanted to have some fine-tuned control over the sizing.
I was wondering mostly if Shopify intended to exclude this component from being used in that target or if it’s a misconfiguration from their end
Update for anyone having the same issue:
I was missing an <s-announcement/> wrapper at the top level of my functions. So it wasn’t that <s-image/> wasn’t supported, the issue was that I was missing the root wrapper.
See:
The announcement component surfaces short, high-visibility messages without blocking the customer experience. Use announcement for promotions, loyalty updates, and lightweight prompts.