AssetModel

Model GraphQL Type

Anytime you refer to an asset in a template, you're actually being provided with an AssetModel object.

Asset Properties

title

The title of the asset.

extension

The file extension of the asset.

filename

The filename of the asset in the local file system.

dateCreated

A UNIX timestamp of when the asset was created.

width

The width, in pixels, of the asset.

height

The height, in pixels, of the asset.

size

The file size, in bytes, of the asset.

mimetype

The mimetype of the asset.