Represents an image resource.


A word or phrase to share the nature or contents of an image.

The original height of the image in pixels. Returns null if the image isn't hosted by Shopify.

A unique ID for the image.

The ThumbHash of the image.

Useful to display placeholder images while the original image is loading.

See https://evanw.github.io/thumbhash/ for details on how to use it.

The location of the image as a URL.

If no transform options are specified, then the original image will be preserved including any pre-applied transforms.

All transformation options are considered "best-effort". Any transformation that the original image type doesn't support will be ignored.

If you need multiple variations of the same image, then you can use GraphQL aliases.

The original width of the image in pixels. Returns null if the image isn't hosted by Shopify.


Was this section helpful?
Map

Fields and connections from

Image