Upload image/file using drag and drop feature
Upload image using drag and drop feature
hey Guys, In this post we will discuss upload image/file using drag and drop feature. you can upload file using dropjone.js. its so easily. you can download from http://www.dropzonejs.com/. Download and add this to your php file.
Review following codes and learn easily.
Drag and Drop files Upload
File Name – function.php
Add following CSS to your stylesheet.
.dropzone {
min-height: 200px;
border: 2px dashed green;
background: white;
padding: 20px 20px;
width:500px;
margin:auto;
}