-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Browser support
The following browsers support multiple file selection:
- Firefox 3.6+
- Safari 5+
- Google Chrome
- Opera 11+
Internet Explorer has no support for multiple file selection, but allows to add multiple files to the upload queue by selecting files multiple times.
Note: Safari on Windows has a bug and reports a file size of 0 bytes when selecting multiple files. Selecting single files works.
The following browsers support drag & drop:
- Firefox 4+
- Safari 5+
- Google Chrome
IE and Opera have currently no support for drag & drop.
Note: Safari on Windows has a bug that adds "" characters at the end of the file name or mangles the file name in another way and reports a file size of 0 bytes when dropping files. Trying to drop the same file(s) again seems to work.
The outdated v4 branch of the plugin supported drag & drop for Firefox 3.6, but since version 5 of the plugin, drag&drop is not supported on versions below Firefox 4 anymore (for multipart uploads).
The reason for this is that Firefox 3.6 does not support the FormData interface for multipart form uploads and required extra code using the FileReader interface to built a multipart/form-data upload. This code was rather inefficient for large files and since version 4 of Firefox is stable and widespread and selecting files still works on Firefox 3.6, I (the developer) decided to remove the extra code for the rewritten version 5 of the plugin.
It is still possible to enable drag & drop support on Firefox 3.6 with version 5 of the plugin by setting the multipart option to false (see Options).
The following browsers have complete support for upload progress indication:
- Firefox 4+
- Safari 5+
- Google Chrome
Firefox 3.6 and Opera 11.1 have partial upload progress support via the global progress bar, which will update after each iframe based upload with the percentage of the uplaoded files compared to all file selections in the upload queue. This is possible as those browsers support the File API and report the file size of the uploaded files, although they lack the interfaces for XMLHttpRequest uploads.
All versions of Internet Explorer will also update the global progress bar after each iframe based upload. However since IE does not report the file size, the global progress bar will measure each uploaded file the same without regard to the size of the uploaded file.
The following browsers have support for image previews prior to uploading files:
- Firefox 3.6+
- Google Chrome
- Opera 11+
The following browsers report complete file meta data prior to uploading files:
- Firefox 3.6+
- Safari 4+
- Google Chrome
- Opera 10+
Internet Explorer only reports the file name.
The reported file meta data consists of the following properties:
- name: The name of the file, e.g. banana.jpg.
- size: The size of the file in bytes, e.g. 130073 (131 KB).
- type: The type of the file, e.g. image/jpg.
The following browsers support XHR file uploads, which allows advanced usage of the file upload API:
- Firefox 4+
- Safari 5+
- Google Chrome
If the multipart option is set to false (see Options), Firefox 3.6 also supports XHR file uploads.
The Iframe Transport is used for other browsers. The Iframe Transport requires a file input selection to upload files.
The following browsers support client-side image resizing functionality:
- Firefox 4+
- Google Chrome