ChemPal Documentation - v0.0.13-beta.5
    Preparing search index...

    Interface Magento2Image

    Image returned for a Magento 2 product. Used for image, small_image, thumbnail, and entries in media_gallery.

    const image: Magento2Image = {
    url: "https://www.example.com/media/catalog/product/cache/abc/S/7/S770339.jpg",
    label: "Sodium iodide CAS No(7681-82-5)"
    };
    interface Magento2Image {
        url: string;
        label: null | string;
    }
    Index

    Properties

    Properties

    url: string

    Absolute URL to the image

    label: null | string

    Human-readable image label (often contains the product name and CAS)