Creating an Upload Zone

Modified on Tue, 03 Dec 2019 at 10:45 AM

An Upload Zone is a rectangular area that allows to add a custom element (image or text) into it. An Upload Zone can only store on element at the same time.



Creating an Uplod Zone is quite easy, you can use any image (PNG or JPEG) which is the placeholder image. When an user clicks on this image, the "Add Element" dialog will be shown and here the user can select an element. You can activate an image element as Upload Zone with the uploadZone property.


{top: 100, 
left: 50, 
uploadZone: true, //enable upload zone
uploadZoneMovable: false //can upload zone be moved
}

You can even decide what kind of elements can be added into the Upload Zone by using the customAdds property:

{
uploadZone: true,
customAdds: {
designs: false, //designs module is disabled
texts: true, //only text module is allowed
uploads: false //no image uploads
}
}


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article