Features
- Multiple file upload(多文件上传):
Allows to select multiple files at once and upload them simultaneously.
- Drag & Drop support(支持D&D操作):
Allows to upload files by dragging them from your desktop or filemanager and dropping them on your browser window.
- Upload progress bar(上传进程条):
Shows a progress bar indicating the upload progress for individual files and for all uploads combined.
- Cancelable uploads(可取消上传):
Individual file uploads can be canceled to stop the upload progress.
- Resumable uploads(断点续传):
Aborted uploads can be resumed with browsers supporting the Blob API.
- Chunked uploads(大文件分块上传):
Large files can be uploaded in smaller chunks with browsers supporting the Blob API.
- Client-side image resizing():
Images can be automatically resized on client-side with browsers supporting the required JS APIs.
- Preview images, audio and video(图片,视频,音频预览):
A preview of image, audio and video files can be displayed before uploading with browsers supporting the required APIs.
- No browser plugins (e.g. Adobe Flash) required(无需浏览器插件):
The implementation is based on open standards like HTML5 and JavaScript and requires no additional browser plugins.
- Graceful fallback for legacy browsers():
Uploads files via XMLHttpRequests if supported and uses iframes as fallback for legacy browsers.
- HTML file upload form fallback:
Allows progressive enhancement by using a standard HTML file upload form as widget element.
- Cross-site file uploads(跨站文件上传):
Supports uploading files to a different domain with cross-site XMLHttpRequests or iframe redirects.
- Multiple plugin instances(多插件实例?):
Allows to use multiple plugin instances on the same webpage.
- Customizable and extensible(可定制和可扩展):
Provides an API to set individual options and define callBack methods for various upload events.
- Multipart and file contents stream uploads():
Files can be uploaded as standard "multipart/form-data" or file contents stream (HTTP PUT file upload).
- Compatible with any server-side application platform(与任一服务器端应用平台兼容):
Works with any server-side platform (PHP, Python, Ruby on Rails, Java, Node.js, Go etc.) that supports standard HTML form file uploads.
详情请参考官网 https://github.com/blueimp/jQuery-File-Upload