Interface VisualMedia

An image or video media object.

interface VisualMedia {
    cropped?: boolean;
    has_original_dimensions?: boolean;
    height: number;
    original_dimensions_missing?: boolean;
    type?: string;
    url: string;
    width: number;
}

Hierarchy (view full)

Properties

cropped?: boolean

This indicates whether this media object is a cropped version of the original media.

has_original_dimensions?: boolean

This indicates whether this media object has the same dimensions as the original media

height: number

The height of the media asset, if that makes sense (for images and videos, but not for audio).

original_dimensions_missing?: boolean

For display purposes, this indicates whether the dimensions are defaults.

type?: string

The MIME type of the media asset, or a best approximation will be made based on the given URL.

url: string

The canonical URL of the media asset.

width: number

The width of the media asset, if that makes sense (for images and videos, but not for audio).