Image
If you want to allow users to upload images in postConfig
and pageConfig
options, you can use the Image field. This simple field type allows easy image uploads for your configuration needs.
Here is an example of how to use it:
{
"name": "additionalImage",
"label": "Additional image",
"value": "",
"type": "image"
}
To upload images directly to the theme, it is recommended to use the Image Upload and Small Image Upload controls.