ImageLoaderConfig
interface
stable
Config options recognized by the image loader function.
src
stringImage file name to be added to the image request URL.
width
number | undefinedWidth of the requested image (to be used when generating srcset).
isPlaceholder
boolean | undefinedWhether the loader should generate a URL for a small image placeholder instead of a full-sized image.
loaderParams
{ [key: string]: any; } | undefinedAdditional user-provided parameters for use by the ImageLoader.
Jump to details