The method creates an image in the process context.
The method uploads an image from an external source to the process context.
Request all associated images.
If a field stores multiple image links, you can request all of them at once:
const images = await Context.fields.images.fetchAll();
Your review is successfully sent!
Feedback sent successfully
Description of the TImage type field
Hierarchy
Methods
create
The method creates an image in the process context.
Parameters
name: string
body: ArrayBuffer
Returns Promise<ImageItem>
createFromLink
The method uploads an image from an external source to the process context.
Parameters
name: string
url: string
Returns Promise<ImageItem>
fetchAll
Request all associated images.
If a field stores multiple image links, you can request all of them at once:
const images = await Context.fields.images.fetchAll();Returns Promise<ImageItem[]>