How to upload file using Dropzone

Tram Ho

Upload image using Dropzone

Dropzone is powerful and easy to use JS library. it’s works without call any JS. Dropzone works client side, so it’s doesn’t load server bandwidth.

Download and include Dropzone.

Add above dropzone JS inside head and after body add below code.

Create HTML container

Call HTML block using dropzone js.

Now, If you want to move file to server use PHP move_uploaded_file function to achieve this. for more detail tutorial check this website

Share the news now

Source : Viblo