Skip to content

Tag: file-upload

Drag & drop a file anywhere on a page

I have the following code: You can click on it to select a file. But alternatively you can drag a file and drop it on the Select file button. But you have to exactly hold the cursor above the button when dropping the file. Otherwise it won’t work. There are ways to make the button or the drop zone bigge…

how to upload all images from a folder

trying to upload all images from a folder destination folder on server side is test destination format for images is uniqid().jpg problem – seems resulting array on server side is empty upload.php Answer You are passing a FileList object fd.append which is incorrect you have to loop through the list and…