Skip to main content

Updates to Image type on Storefront GraphQL API

As of the 2021-01 version, we've made it easier to determine the original width and height of storefront images before attempting to download and render it. This will help with optimizing performance of client-side rendering logic, such as preventing content reflow from lazy-loaded images.

Learn more about the image width and height properties in the Shopify Storefront API documentation.

Was this section helpful?