Skip to main content

ImageMedia

Overview​

ImageMedia represents an image asset within the media model. It includes the source URL, alternative text for accessibility, and an optional title.

Attributes​

type​

type: literal = 'image'

Discriminant for the media type.

src​

type: string

URL pointing to the image file.

alt​

type: string

Descriptive alternative text for the image.

title​

type: string

Optional title for the image.