Image
Represents an image resource.
Anchor to Fields and connectionsFields and connections
- Anchor to altTextalt•
Text A word or phrase to share the nature or contents of an image.
- Anchor to heightheight•
The original height of the image in pixels. Returns
null
if the image isn't hosted by Shopify.- •
A unique ID for the image.
- Anchor to metafieldmetafield•
A custom field, including its
namespace
andkey
, that's associated with a Shopify resource for the purposes of adding and storing additional information.- Anchor to metafieldsmetafields•Metafield
Connection! non-null A list of custom fields that a merchant associates with a Shopify resource.
- •URL!non-null
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.
- Anchor to widthwidth•
The original width of the image in pixels. Returns
null
if the image isn't hosted by Shopify.
Map
Fields and connections with this object
- AbandonedCheckoutLineItem.image
- AbandonedCheckoutLineItemComponent.image
- App.banner
- App.icon
- App.screenshots
- Article.image
- CalculatedDraftOrderLineItem.image
- CalculatedLineItem.image
- CheckoutBrandingHeaderCartLink.image
- CheckoutBrandingImage.image
- CheckoutBrandingLogo.image
- Collection.image
- CommentEventAttachment.image
- Customer.image
- DeliveryCarrierService.icon
- DiscountShareableUrl.targetItemImage
- DraftOrderLineItem.image
- FulfillmentOrderLineItem.image
- ImageConnection.nodes
- ImageEdge.node
- LineItem.image
- MediaImage.image
- MediaPreviewImage.image
- OrderApp.icon
- OrderTransaction.paymentIcon
- PriceRuleShareableUrl.targetItemImage
- ProductVariant.image
- SearchResult.image
- StaffMember.avatar
- SubscriptionLine.variantImage