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