Download

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"
}
Image Control for post and page config

To upload images directly to the theme, it is recommended to use the Image Upload and Small Image Upload controls.

What are you waiting for?

Start building your site today.

  1. 1 Download Publii
  2. 2 Write your content
  3. 3 Publish your site
Create website