---
title: MediaImage - Customer API
description: Represents a Shopify hosted image.
api_version: 2026-10
source_url:
  html: 'https://shopify.dev/docs/api/customer/latest/objects/MediaImage'
  md: 'https://shopify.dev/docs/api/customer/latest/objects/MediaImage.md'
api_name: customer
api_type: graphql
type: object
---

# Media​Image

object

Requires `customer_read_companies` access scope, `customer_read_customers` access scope, `customer_read_locations` access scope or `customer_read_orders` access scope.

Represents a Shopify hosted image.

## Fields

* alt

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

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

* id

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

  non-null

  A globally-unique ID.

* image

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

  The image for the media.

* media​Content​Type

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

  non-null

  The media content type.

* preview​Image

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

  The preview image for the media.

***

## Map

### Possible type in

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

***

## Interfaces

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

  interface

***

## MediaImage Implements

### Implements

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