Document Solutions Image Viewer
    Preparing search index...

    Type Alias PresetImageItem

    Represents a single preset image item

    type PresetImageItem = {
        url: string;
        label?: string;
        description?: string;
        width?: number;
        height?: number;
        tags?: string[];
        aspectRatio?: string;
    }

    Properties

    url: string

    URL of the image

    label?: string

    Display label for the image. If not specified, will be derived from the filename.

    description?: string

    Optional description for the image

    width?: number

    Preferred width when inserted. Uses defaultWidth from config if not specified.

    height?: number

    Preferred height when inserted. Uses defaultHeight from config if not specified.

    tags?: string[]

    Optional tags for searching and filtering

    aspectRatio?: string

    Optional aspect ratio lock (e.g., "1:1", "16:9", "4:3")