Image

An image from Wix Media, carried at runtime as an object with the URL to render along with its dimensions, crop, and accessibility text. Use it for any field that shows a picture the user picks from the Media Manager, such as a hero image or a product photo.

Component

In your component code, import the Image type from @wix/editor-react-types:

Copy

An Image has the following properties:

urlstringRequired

The fully resolved image URL. Render this.


uristring

The Wix Media URI, such as 'wix:image://v1/abc123.jpg'.


namestring

The image file name.


heightnumber

The image height in pixels.


widthnumber

The image width in pixels.


animatedboolean

Whether the image is animated, such as a GIF.


crop{ x, y, width, height }

The crop region applied to the image, all in pixels.


qualitynumber

The image quality, as a percentage from 0 to 100.


altstring

The image alt text for accessibility.

Usage

Your code either consumes a value of type Image or produces one:

Manifest

In your manifest, declare the field with the image dataType:

Copy

Declaration

Declare an image field in one of these ways, depending on where the value comes from:

Last updated: 2 November 2026

Did this help?