---
title: ImageContentType - Storefront API
description: List of supported image content types.
api_version: 2026-07
source_url:
  html: https://shopify.dev/docs/api/storefront/latest/enums/imagecontenttype
  md: https://shopify.dev/docs/api/storefront/latest/enums/imagecontenttype.md
---

# Image​Content​Type

enum

List of supported image content types.

## Valid values

* JPG

  A JPG image.

* PNG

  A PNG image.

* WEBP

  A WEBP image.

***

## Fields

* [Image.transformedSrc(preferredContentType)](https://shopify.dev/docs/api/storefront/latest/objects/Image#field-Image.fields.transformedSrc.arguments.preferredContentType)

  ARGUMENT

  An image resource with URL, dimensions, and transformation options. Used for product images, collection images, media previews, and other visual content throughout the storefront.

  The [`url`](https://shopify.dev/docs/api/storefront/current/objects/Image#field-Image.fields.url) field accepts an [`ImageTransformInput`](https://shopify.dev/docs/api/storefront/current/input-objects/ImageTransformInput) argument for resizing, cropping, scaling for retina displays, and converting between image formats. Use the [`thumbhash`](https://shopify.dev/docs/api/storefront/current/objects/Image#field-Image.fields.thumbhash) field to display lightweight placeholders while images load.

* [Image​Transform​Input.preferredContentType](https://shopify.dev/docs/api/storefront/latest/input-objects/ImageTransformInput#fields-preferredContentType)

  INPUT OBJECT

  The available options for transforming an image.

  All transformation options are considered best effort. Any transformation that the original image type doesn't support will be ignored.

***

## Map

### Inputs with this enum

* [Image​Transform​Input.preferredContentType](https://shopify.dev/docs/api/storefront/latest/input-objects/ImageTransformInput#fields-preferredContentType)

### Arguments with this enum

* [Image.transformedSrc(preferredContentType)](https://shopify.dev/docs/api/storefront/latest/objects/Image#field-Image.fields.transformedSrc.arguments.preferredContentType)