-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Description
https://keystonejs.com/docs/context/overview#images-api
keystone/docs/pages/docs/context/overview.md
Line 130 in 5b451f3
| `image.getUrl(mode, id, extension)`: Given a `mode`, `id`, and `extension` from an `ImageData` object, returns the `src` value representing the location from which the image can be accessed over HTTP. |
image.getUrl(mode, id, extension): Given amode,id, andextensionfrom anImageDataobject, returns thesrcvalue representing the location from which the image can be accessed over HTTP.
Also seen at
keystone/docs/pages/docs/context/overview.md
Line 121 in 5b451f3
| mode: ImageMode; |
There's no mode in the actual API:
export type ImagesContext = (storage: string) => {
getUrl: (id: string, extension: ImageExtension) => Promise<string>keystone/packages/core/src/types/context.ts
Lines 208 to 209 in 5b451f3
| export type ImagesContext = (storage: string) => { | |
| getUrl: (id: string, extension: ImageExtension) => Promise<string> |
Metadata
Metadata
Assignees
Labels
No labels