Image object

Version unstable

Represents an image resource.

Connections

  • metafields (MetafieldConnection!)

    List of metafields that belong to the resource.

    Argument Description
    after ( String )

    Returns the elements that come after the specified cursor.

    before ( String )

    Returns the elements that come before the specified cursor.

    first ( Int )

    Returns up to the first n elements from the list.

    last ( Int )

    Returns up to the last n elements from the list.

    namespace ( String )

    The metafield namespace to filter by.

    reverse ( Boolean )

    Reverse the order of the underlying list.
    Default value: false

  • privateMetafields (PrivateMetafieldConnection!)

    List of private metafields that belong to the resource.

    Argument Description
    after ( String )

    Returns the elements that come after the specified cursor.

    before ( String )

    Returns the elements that come before the specified cursor.

    first ( Int )

    Returns up to the first n elements from the list.

    last ( Int )

    Returns up to the last n elements from the list.

    namespace ( String )

    Filter the private metafields by namespace.

    reverse ( Boolean )

    Reverse the order of the underlying list.
    Default value: false

Fields

  • altText (String)

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

  • height (Int)

    The original height of the image in pixels. Returns null if the image is not hosted by Shopify.

  • id (ID)

    A unique identifier for the image.