---
title: MediaImage - Storefront API
description: >
  An image hosted on Shopify's content delivery network (CDN). Used for product
  images, brand logos, and other visual content across the storefront.


  The
  [`image`](/docs/api/storefront/2026-04/objects/MediaImage#field-MediaImage.fields.image)
  field provides the actual image data with transformation options. Implements
  the [`Media`](/docs/api/storefront/2026-04/interfaces/Media) interface
  alongside other media types like
  [`Video`](/docs/api/storefront/2026-04/objects/Video) and
  [`Model3d`](/docs/api/storefront/2026-04/objects/Model3d).
api_version: 2026-04
api_name: storefront
type: object
api_type: graphql
source_url:
  html: 'https://shopify.dev/docs/api/storefront/latest/objects/MediaImage'
  md: 'https://shopify.dev/docs/api/storefront/latest/objects/MediaImage.md'
---

# Media​Image

object

Requires `unauthenticated_read_product_listings` access scope.

An image hosted on Shopify's content delivery network (CDN). Used for product images, brand logos, and other visual content across the storefront.

The [`image`](https://shopify.dev/docs/api/storefront/2026-04/objects/MediaImage#field-MediaImage.fields.image) field provides the actual image data with transformation options. Implements the [`Media`](https://shopify.dev/docs/api/storefront/2026-04/interfaces/Media) interface alongside other media types like [`Video`](https://shopify.dev/docs/api/storefront/2026-04/objects/Video) and [`Model3d`](https://shopify.dev/docs/api/storefront/2026-04/objects/Model3d).

## Fields

* alt

  [String](https://shopify.dev/docs/api/storefront/latest/scalars/String)

  A word or phrase to share the nature or contents of a media.

* id

  [ID!](https://shopify.dev/docs/api/storefront/latest/scalars/ID)

  non-null

  A globally-unique ID.

* image

  [Image](https://shopify.dev/docs/api/storefront/latest/objects/Image)

  The image for the media.

* media​Content​Type

  [Media​Content​Type!](https://shopify.dev/docs/api/storefront/latest/enums/MediaContentType)

  non-null

  The media content type.

* presentation

  [Media​Presentation](https://shopify.dev/docs/api/storefront/latest/objects/MediaPresentation)

  The presentation for a media.

* preview​Image

  [Image](https://shopify.dev/docs/api/storefront/latest/objects/Image)

  The preview image for the media.

***

## Map

### Fields with this object

* [Brand.coverImage](https://shopify.dev/docs/api/storefront/latest/objects/Brand#field-Brand.fields.coverImage)
* [Brand.logo](https://shopify.dev/docs/api/storefront/latest/objects/Brand#field-Brand.fields.logo)
* [Brand.squareLogo](https://shopify.dev/docs/api/storefront/latest/objects/Brand#field-Brand.fields.squareLogo)
* [FilterValue.image](https://shopify.dev/docs/api/storefront/latest/objects/FilterValue#field-FilterValue.fields.image)
* [Swatch.image](https://shopify.dev/docs/api/storefront/latest/objects/Swatch#field-Swatch.fields.image)

### Possible type in

* [Metafield​Reference](https://shopify.dev/docs/api/storefront/latest/unions/MetafieldReference)

***

## Interfaces

* * [Media](https://shopify.dev/docs/api/storefront/latest/interfaces/Media)

    interface

  * [Node](https://shopify.dev/docs/api/storefront/latest/interfaces/Node)

    interface

***

## MediaImage Implements

### Implements

* [Media](https://shopify.dev/docs/api/storefront/latest/interfaces/Media)
* [Node](https://shopify.dev/docs/api/storefront/latest/interfaces/Node)
