MediaThumbnail
The MediaThumbnail object represents a single thumbnail variant of media content.
Thumbnails are automatically generated, compressed versions of the original media at different size presets, optimized for various display contexts such as gallery views, previews, and list items. Each thumbnail maintains its own URL, format specifications, and metadata.
Schema Definition
type MediaThumbnail {
url: String!
preset: ThumbnailPreset!
format: String!
fileSize: UInt64
createdAt: Time!
}
Fields
| Field | Type | Description |
|---|---|---|
url | String! non-null scalar | The URL where the thumbnail can be retrieved. |
preset | ThumbnailPreset! non-null enum | The size preset of this thumbnail variant. |
format | String! non-null scalar | The file format of the thumbnail. |
fileSize | UInt64 scalar | The size of the thumbnail file in bytes. |
createdAt | Time! non-null scalar | The timestamp when this thumbnail was generated and became available in the system. |
Member Of
Media object