ImageData: {
    embeds?: Embed[];
    i18n?: {
        [key: string]: ImageDetailsCultureData;
    };
    markerTours?: MarkerTour[];
    markers?: Marker[];
    music?: {
        items: Audio[];
        loop: boolean;
        volume?: number;
    };
    pages?: Menu[];
    revision?: RevisionType;
    tours?: VideoTour[];
}

The main data JSON structure

Type declaration

  • Optional embeds?: Embed[]

    In-image embeds

  • Optional i18n?: {
        [key: string]: ImageDetailsCultureData;
    }

    Localized image details

  • Optional markerTours?: MarkerTour[]

    Marker tours

  • Optional markers?: Marker[]

    Markers

  • Optional music?: {
        items: Audio[];
        loop: boolean;
        volume?: number;
    }

    Music playlist

    • items: Audio[]

      The audio assets

    • loop: boolean

      Loop the playlist

    • Optional volume?: number

      The music audio volume [0-1] (default: 1)

  • Optional pages?: Menu[]

    Custom menu pages

  • Optional revision?: RevisionType

    V5+: Save revision

  • Optional tours?: VideoTour[]

    Video tours