Hello,
I’ve seen that Polaris has some new web components. The s-thumbnail is nice, however Polaris should optimize the images automatically:
- Shopify should set the proper src, srcset, width and height attributes based on the passed size on the img tag.
- If the URL is from Shopify CDN (starts by cdn.shopify.com), for the src and srcset, the web component should automatically add the width, height and crop (to center) query params on the image to resize dynamically the image (right now, Polaris loads the passed image, usually retrieved from GraphQL, which will load full resolution image, hence causing a potentially big performance problem on listing).