Image upload

You can use the image upload field when you want to allow your users to upload some additional images.

That field uses the simplest possible syntax:

{
    "name": "logo",
    "label": "Website logo",
    "value": "",
    "type": "upload"
}
Image uploader HTML

If you want to allow users to upload images using a smaller UI, please consider the use of the small image upload field.

Create your first website with Publii

Join thousands of creators who chose independence. Create content locally and publish lightning-fast, secure websites on your own terms.

Download Publii

Free and open source. Windows, macOS and Linux.

Read the getting started guide