[**@wocart/theme v4.1.0**](../../README)

***

[@wocart/theme](../../README) / [index](../README) / MediaReference

# Interface: MediaReference

A stored image: the object's key in the store's media bucket
(`products/3f2a….webp`), never a URL, plus what the editor knows about it.
`width`/`height` are the original's pixels; `focal` is the point to keep in
view when the image is cropped, from 0 to 1 on each axis.

## Properties

### alt?

> `optional` **alt?**: [`LocalizedText`](../type-aliases/LocalizedText)

***

### focal?

> `optional` **focal?**: `object`

#### x

> **x**: `number`

#### y

> **y**: `number`

***

### height?

> `optional` **height?**: `number`

***

### key

> **key**: `string`

***

### width?

> `optional` **width?**: `number`
