# Image - storefront - OBJECT
Version: 2025-01

## Description
Represents an image resource.

### Access Scopes



## Fields
* [altText](/docs/api/storefront/2025-01/scalars/String): String - A word or phrase to share the nature or contents of an image.
* [height](/docs/api/storefront/2025-01/scalars/Int): Int - The original height of the image in pixels. Returns `null` if the image isn't hosted by Shopify.
* [id](/docs/api/storefront/2025-01/scalars/ID): ID - A unique ID for the image.
* [originalSrc](/docs/api/storefront/2025-01/scalars/URL): URL! - The location of the original image as a URL.

If there are any existing transformations in the original source URL, they will remain and not be stripped.

* [src](/docs/api/storefront/2025-01/scalars/URL): URL! - The location of the image as a URL.
* [transformedSrc](/docs/api/storefront/2025-01/scalars/URL): URL! - The location of the transformed image as a URL.

All transformation arguments are considered "best-effort". If they can be applied to an image, they will be.
Otherwise any transformations which an image type doesn't support will be ignored.

* [url](/docs/api/storefront/2025-01/scalars/URL): URL! - 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](https://graphql.org/learn/queries/#aliases).

* [width](/docs/api/storefront/2025-01/scalars/Int): Int - The original width of the image in pixels. Returns `null` if the image isn't hosted by Shopify.

## Connections



## Related queries

## Related mutations

## Related Unions

## Examples