Skip to content

MediaImage

MediaImage = object

An image an editor picked, sized for an email: twice the width EdgeKit’s blocks show it at, never wider than its original.

alt: string

Empty on a decorative image.


optional asset?: string

The Media Library asset it was picked from; absent on a URL set by hand.


height: number | null


url: string

An https URL: a signed media URL when picked from the Media Library.


width: number | null

Its size in pixels, or null when not known.

edgekit.ai