Skip to content
⌘K

PostImage

On this page
import type { PostImage } from "ardo/ui"

type PostImage = {
    alt: string;
    caption?: string;
    preset: ImagePreset;
    families: ImageCropFamily[];
    /** One JPEG in the default composition, at most 1280px wide, for fallback and exports. */
    fallback?: ImageRendition;
};

Properties

NameTypeRequiredDescription
altstringYes
captionstringNo
presetImagePresetYes
familiesImageCropFamily[]Yes
fallbackImageRenditionNoOne JPEG in the default composition, at most 1280px wide, for fallback and exports.