Hello there. I am trying to add "drag and drop" to my site so you can just drag the picture you want into the site to upload it insted of selecting images by using the select images button.
First off: I have managed to get the box you should drop the images into to cover the whole site, but the site can not be used as the box is covering the whole site.
This is how the css example I am using looks like:
It is the "position: fixed;" that makes the site untouchable, but what else can I use to make the box cover the whole site and made the site touchable?
Secound: So far the images you drag into the box does not get uploaded but just selected. I need to edit the javascript for the drag and drop plugin in order to make it upload the images you select. In what file is the upload function of chevereto?
Thanks for all help I get.
First off: I have managed to get the box you should drop the images into to cover the whole site, but the site can not be used as the box is covering the whole site.
This is how the css example I am using looks like:
Code:
opacity: 0;
background: #000;
width: 100%;
height: 100%;
z-index: 10;
top: 0;
left: 0;
position: fixed;
It is the "position: fixed;" that makes the site untouchable, but what else can I use to make the box cover the whole site and made the site touchable?
Secound: So far the images you drag into the box does not get uploaded but just selected. I need to edit the javascript for the drag and drop plugin in order to make it upload the images you select. In what file is the upload function of chevereto?
Thanks for all help I get.