ChemPal Documentation - v1.6.0
    Preparing search index...

    Interface ResolvedProductImage

    A resolved image for a product's detail panel: the source shown in the thumbnail box and the (usually larger) source shown enlarged in the gallery modal when the thumbnail is clicked.

    export interface ResolvedProductImage {
    /** Image URL to render in the fixed-size thumbnail box. */
    thumbSrc: string;
    /** Image URL shown enlarged in the gallery modal when the thumbnail is clicked. */
    fullSrc: string;
    /** Alt text for the image, when the source provided one. */
    altText?: string;
    }
    interface ResolvedProductImage {
        thumbSrc: string;
        fullSrc: string;
        altText?: string;
    }
    Index

    Properties

    thumbSrc: string

    Image URL to render in the fixed-size thumbnail box.

    fullSrc: string

    Image URL shown enlarged in the gallery modal when the thumbnail is clicked.

    altText?: string

    Alt text for the image, when the source provided one.