Skip to main content
enum

The part of the image that should remain after cropping.

Keep the bottom of the image.

Keep the center of the image.

Keep the left of the image.

Keep the right of the image.

Keep the top of the image.


Was this section helpful?

•ARGUMENT

An image resource with URL, dimensions, and transformation options. Used for product images, collection images, media previews, and other visual content throughout the storefront.

The url field accepts an ImageTransformInput argument for resizing, cropping, scaling for retina displays, and converting between image formats. Use the thumbhash field to display lightweight placeholders while images load.

•INPUT OBJECT

The available options for transforming an image.

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


Was this section helpful?