Image resizing endpoint for Indiekit. Adds real-time image processing routes that can be used by your publication.
npm i @indiekit/endpoint-image
Add @indiekit/endpoint-image
to your list of plug-ins, specifying options as required:
{
"plugins": ["@indiekit/endpoint-image"],
"@indiekit/endpoint-image": {
"mountPath": "/bild", // de-DE
},
}
Option | Type | Description |
---|---|---|
cache |
Function |
Keyv store. |
me |
string |
Publication URL. Used as prefix to image paths. |
mountPath |
string |
Path to image resizing endpoint. Optional, defaults to /image . |