Skip to main content

ThumbnailPreset

The ThumbnailPreset enum defines predefined size presets for optimized media thumbnail loading.

Schema Definition

enum ThumbnailPreset {
MICRO
SMALL
MEDIUM
LARGE
XLARGE
ORIGINAL
}

Values

ValueDescription
MICROSmallest thumbnail size, suitable for tiny icons or list item previews.
SMALLSmall thumbnail (typically ~150px), ideal for compact gallery views and list items.
MEDIUMMedium thumbnail (typically ~300px), suitable for preview cards and grid layouts.
LARGELarge thumbnail (typically ~600px), appropriate for detailed previews and modal displays.
XLARGEExtra large thumbnail (typically ~1200px), used for high-resolution displays and hero images.
ORIGINALOriginal uncompressed media file, providing the highest quality at full resolution.

Member Of

MediaThumbnail object