2017 © Pedro Peláez
 

library jquery-file-upload

File Upload widget for jQuery.

image

blueimp/jquery-file-upload

File Upload widget for jQuery.

  • Monday, July 16, 2018
  • by vkhramtsov
  • Repository
  • 2 Watchers
  • 9 Stars
  • 247,313 Installations
  • JavaScript
  • 28 Dependents
  • 0 Suggesters
  • 7785 Forks
  • 0 Open issues
  • 68 Versions
  • 6 % Grown

The README.md

jQuery File Upload

Contents

Description

File Upload widget with multiple file selection, drag&drop support, progress bars, validation and preview images, audio and video for jQuery.
Supports cross-domain, chunked and resumable file uploads and client-side image resizing.
Works with any server-side platform (PHP, Python, Ruby on Rails, Java, Node.js, Go etc.) that supports standard HTML form file uploads., (*1)

Demo

Demo File Upload, (*2)

Features

  • Multiple file upload:
    Allows to select multiple files at once and upload them simultaneously.
  • Drag & Drop support:
    Allows to upload files by dragging them from your desktop or file manager 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.

Security

⚠️ Please read the VULNERABILITIES document for a list of fixed vulnerabilities, (*3)

Please also read the SECURITY document for instructions on how to securely configure your Web server for file uploads., (*4)

Setup

jQuery File Upload can be installed via NPM:, (*5)

npm install blueimp-file-upload

This allows you to include jquery.fileupload.js and its extensions via node_modules, e.g:, (*6)

<script src="node_modules/blueimp-file-upload/js/jquery.fileupload.js"></script>

The widget can then be initialized on a file upload form the following way:, (*7)

$('#fileupload').fileupload();

For further information, please refer to the following guides:, (*8)

Requirements

Mandatory requirements

Optional requirements

Cross-domain requirements

Cross-domain File Uploads using the Iframe Transport plugin require a redirect back to the origin server to retrieve the upload results. The example implementation makes use of result.html as a static redirect page for the origin server., (*9)

The repository also includes the jQuery XDomainRequest Transport plugin, which enables limited cross-domain AJAX requests in Microsoft Internet Explorer 8 and 9 (IE 10 supports cross-domain XHR requests).
The XDomainRequest object allows GET and POST requests only and doesn't support file uploads. It is used on the Demo to delete uploaded files from the cross-domain demo file upload service., (*10)

Browsers

Desktop browsers

The File Upload plugin is regularly tested with the latest browser versions and supports the following minimal versions:, (*11)

  • Google Chrome
  • Apple Safari 4.0+
  • Mozilla Firefox 3.0+
  • Opera 11.0+
  • Microsoft Internet Explorer 6.0+

Mobile browsers

The File Upload plugin has been tested with and supports the following mobile browsers:, (*12)

  • Apple Safari on iOS 6.0+
  • Google Chrome on iOS 6.0+
  • Google Chrome on Android 4.0+
  • Default Browser on Android 2.3+
  • Opera Mobile 12.0+

Extended browser support information

For a detailed overview of the features supported by each browser version and known operating system / browser bugs, please have a look at the Extended browser support information., (*13)

Testing

The project comes with three sets of tests:, (*14)

  1. Code linting using ESLint.
  2. Unit tests using Mocha.
  3. End-to-end tests using blueimp/wdio.

To run the tests, follow these steps:, (*15)

  1. Start Docker.
  2. Install development dependencies: sh npm install
  3. Run the tests: sh npm test

Support

This project is actively maintained, but there is no official support channel.
If you have a question that another developer might help you with, please post to Stack Overflow and tag your question with blueimp jquery file upload., (*16)

License

Released under the MIT license., (*17)

The Versions

16/07 2018

dev-master

9999999-dev https://github.com/blueimp/jQuery-File-Upload

File Upload widget for jQuery.

  Sources   Download

MIT

file php jquery bootstrap upload widget multiple progress gae drag python chunk preview drop selection cross-domain cross-site resume go

21/06 2018

v9.22.0

9.22.0.0 https://github.com/blueimp/jQuery-File-Upload

File Upload widget for jQuery.

  Sources   Download

MIT

file php jquery bootstrap upload widget multiple progress gae drag python chunk preview drop selection cross-domain cross-site resume go

20/02 2018

v9.21.0

9.21.0.0 https://github.com/blueimp/jQuery-File-Upload

File Upload widget for jQuery.

  Sources   Download

MIT

file php jquery bootstrap upload widget multiple progress gae drag python chunk preview drop selection cross-domain cross-site resume go

24/01 2018

v9.20.0

9.20.0.0 https://github.com/blueimp/jQuery-File-Upload

File Upload widget for jQuery.

  Sources   Download

MIT

file php jquery bootstrap upload widget multiple progress gae drag python chunk preview drop selection cross-domain cross-site resume go

16/01 2018

v9.19.3

9.19.3.0 https://github.com/blueimp/jQuery-File-Upload

File Upload widget for jQuery.

  Sources   Download

MIT

file php jquery bootstrap upload widget multiple progress gae drag python chunk preview drop selection cross-domain cross-site resume go

04/12 2017

v9.19.2

9.19.2.0 https://github.com/blueimp/jQuery-File-Upload

File Upload widget for jQuery.

  Sources   Download

MIT

file php jquery bootstrap upload widget multiple progress gae drag python chunk preview drop selection cross-domain cross-site resume go

05/09 2017

v9.19.1

9.19.1.0 https://github.com/blueimp/jQuery-File-Upload

File Upload widget for jQuery.

  Sources   Download

MIT

file php jquery bootstrap upload widget multiple progress gae drag python chunk preview drop selection cross-domain cross-site resume go

28/08 2017

v9.19.0

9.19.0.0 https://github.com/blueimp/jQuery-File-Upload

File Upload widget for jQuery.

  Sources   Download

MIT

file php jquery bootstrap upload widget multiple progress gae drag python chunk preview drop selection cross-domain cross-site resume go

29/03 2017

v9.18.0

9.18.0.0 https://github.com/blueimp/jQuery-File-Upload

File Upload widget for jQuery.

  Sources   Download

MIT

file php jquery bootstrap upload widget multiple progress gae drag python chunk preview drop selection cross-domain cross-site resume go

20/02 2017

v9.17.0

9.17.0.0 https://github.com/blueimp/jQuery-File-Upload

File Upload widget for jQuery.

  Sources   Download

MIT

file php jquery bootstrap upload widget multiple progress gae drag python chunk preview drop selection cross-domain cross-site resume go

10/02 2017

v9.16.0

9.16.0.0 https://github.com/blueimp/jQuery-File-Upload

File Upload widget for jQuery.

  Sources   Download

MIT

file php jquery bootstrap upload widget multiple progress gae drag python chunk preview drop selection cross-domain cross-site resume go

07/02 2017

v9.15.0

9.15.0.0 https://github.com/blueimp/jQuery-File-Upload

File Upload widget for jQuery.

  Sources   Download

MIT

file php jquery bootstrap upload widget multiple progress gae drag python chunk preview drop selection cross-domain cross-site resume go

21/12 2016

v9.14.2

9.14.2.0 https://github.com/blueimp/jQuery-File-Upload

File Upload widget for jQuery.

  Sources   Download

MIT

file php jquery bootstrap upload widget multiple progress gae drag python chunk preview drop selection cross-domain cross-site resume go

21/11 2016

v9.14.1

9.14.1.0 https://github.com/blueimp/jQuery-File-Upload

File Upload widget for jQuery.

  Sources   Download

MIT

file php jquery bootstrap upload widget multiple progress gae drag python chunk preview drop selection cross-domain cross-site resume go

03/11 2016

v9.14.0

9.14.0.0 https://github.com/blueimp/jQuery-File-Upload

File Upload widget for jQuery.

  Sources   Download

MIT

file php jquery bootstrap upload widget multiple progress gae drag python chunk preview drop selection cross-domain cross-site resume go

01/11 2016

v9.13.1

9.13.1.0 https://github.com/blueimp/jQuery-File-Upload

File Upload widget for jQuery.

  Sources   Download

MIT

file php jquery bootstrap upload widget multiple progress gae drag python chunk preview drop selection cross-domain cross-site resume go

27/10 2016

v9.13.0

9.13.0.0 https://github.com/blueimp/jQuery-File-Upload

File Upload widget for jQuery.

  Sources   Download

MIT

file php jquery bootstrap upload widget multiple progress gae drag python chunk preview drop selection cross-domain cross-site resume go

18/10 2016

v9.12.6

9.12.6.0 https://github.com/blueimp/jQuery-File-Upload

File Upload widget for jQuery.

  Sources   Download

MIT

file php jquery bootstrap upload widget multiple progress gae drag python chunk preview drop selection cross-domain cross-site resume go

13/06 2016

9.12.5

9.12.5.0 https://github.com/blueimp/jQuery-File-Upload

File Upload widget for jQuery.

  Sources   Download

MIT

file php jquery bootstrap upload widget multiple progress gae drag python chunk preview drop selection cross-domain cross-site resume go

13/06 2016

9.12.4

9.12.4.0 https://github.com/blueimp/jQuery-File-Upload

File Upload widget for jQuery.

  Sources   Download

MIT

file php jquery bootstrap upload widget multiple progress gae drag python chunk preview drop selection cross-domain cross-site resume go

12/04 2016

9.12.2

9.12.2.0 https://github.com/blueimp/jQuery-File-Upload

File Upload widget for jQuery.

  Sources   Download

MIT

file php jquery bootstrap upload widget multiple progress gae drag python chunk preview drop selection cross-domain cross-site resume go

12/04 2016

9.12.3

9.12.3.0 https://github.com/blueimp/jQuery-File-Upload

File Upload widget for jQuery.

  Sources   Download

MIT

file php jquery bootstrap upload widget multiple progress gae drag python chunk preview drop selection cross-domain cross-site resume go

01/03 2016

9.12.1

9.12.1.0 https://github.com/blueimp/jQuery-File-Upload

File Upload widget for jQuery.

  Sources   Download

MIT

file php jquery bootstrap upload widget multiple progress gae drag python chunk preview drop selection cross-domain cross-site resume go

25/02 2016

9.12.0

9.12.0.0 https://github.com/blueimp/jQuery-File-Upload

File Upload widget for jQuery.

  Sources   Download

MIT

file php jquery bootstrap upload widget multiple progress gae drag python chunk preview drop selection cross-domain cross-site resume go

31/08 2015

9.11.2

9.11.2.0 https://github.com/blueimp/jQuery-File-Upload

File Upload widget for jQuery.

  Sources   Download

MIT

file php jquery bootstrap upload widget multiple progress gae drag python chunk preview drop selection cross-domain cross-site resume go

26/08 2015

9.11.1

9.11.1.0 https://github.com/blueimp/jQuery-File-Upload

File Upload widget for jQuery.

  Sources   Download

MIT

file php jquery bootstrap upload widget multiple progress gae drag python chunk preview drop selection cross-domain cross-site resume go

11/08 2015

9.11.0

9.11.0.0 https://github.com/blueimp/jQuery-File-Upload

File Upload widget for jQuery.

  Sources   Download

MIT

file php jquery bootstrap upload widget multiple progress gae drag python chunk preview drop selection cross-domain cross-site resume go

10/08 2015

9.10.7

9.10.7.0 https://github.com/blueimp/jQuery-File-Upload

File Upload widget for jQuery.

  Sources   Download

MIT

file php jquery bootstrap upload widget multiple progress gae drag python chunk preview drop selection cross-domain cross-site resume go

06/08 2015

9.10.6

9.10.6.0 https://github.com/blueimp/jQuery-File-Upload

File Upload widget for jQuery.

  Sources   Download

MIT

file php jquery bootstrap upload widget multiple progress gae drag python chunk preview drop selection cross-domain cross-site resume go

27/07 2015

9.10.5

9.10.5.0 https://github.com/blueimp/jQuery-File-Upload

File Upload widget for jQuery.

  Sources   Download

MIT

file php jquery bootstrap upload widget multiple progress gae drag python chunk preview drop selection cross-domain cross-site resume go

15/07 2015

9.10.4

9.10.4.0 https://github.com/blueimp/jQuery-File-Upload

File Upload widget for jQuery.

  Sources   Download

MIT

file php jquery bootstrap upload widget multiple progress gae drag python chunk preview drop selection cross-domain cross-site resume go

15/07 2015

9.10.3

9.10.3.0 https://github.com/blueimp/jQuery-File-Upload

File Upload widget for jQuery.

  Sources   Download

MIT

file php jquery bootstrap upload widget multiple progress gae drag python chunk preview drop selection cross-domain cross-site resume go

15/07 2015

9.10.2

9.10.2.0 https://github.com/blueimp/jQuery-File-Upload

File Upload widget for jQuery.

  Sources   Download

MIT

file php jquery bootstrap upload widget multiple progress gae drag python chunk preview drop selection cross-domain cross-site resume go

12/06 2015

9.10.1

9.10.1.0 https://github.com/blueimp/jQuery-File-Upload

File Upload widget for jQuery.

  Sources   Download

MIT

file php jquery bootstrap upload widget multiple progress gae drag python chunk preview drop selection cross-domain cross-site resume go

25/05 2015

9.10.0

9.10.0.0 https://github.com/blueimp/jQuery-File-Upload

File Upload widget for jQuery.

  Sources   Download

MIT

file php jquery bootstrap upload widget multiple progress gae drag python chunk preview drop selection cross-domain cross-site resume go

21/05 2015

9.9.4

9.9.4.0 https://github.com/blueimp/jQuery-File-Upload

File Upload widget for jQuery.

  Sources   Download

MIT

file php jquery bootstrap upload widget multiple progress gae drag python chunk preview drop selection cross-domain cross-site resume go

06/02 2015

9.9.3

9.9.3.0 https://github.com/blueimp/jQuery-File-Upload

File Upload widget for jQuery.

  Sources   Download

MIT

file php jquery bootstrap upload widget multiple progress gae drag python chunk preview drop selection cross-domain cross-site resume go

13/01 2015

9.9.2

9.9.2.0 https://github.com/blueimp/jQuery-File-Upload

File Upload widget for jQuery.

  Sources   Download

MIT

file php jquery bootstrap upload widget multiple progress gae drag python chunk preview drop selection cross-domain cross-site resume go

05/01 2015

9.9.1

9.9.1.0 https://github.com/blueimp/jQuery-File-Upload

File Upload widget for jQuery.

  Sources   Download

MIT

file php jquery bootstrap upload widget multiple progress gae drag python chunk preview drop selection cross-domain cross-site resume go

05/01 2015

9.9.0

9.9.0.0 https://github.com/blueimp/jQuery-File-Upload

File Upload widget for jQuery.

  Sources   Download

MIT

file php jquery bootstrap upload widget multiple progress gae drag python chunk preview drop selection cross-domain cross-site resume go

01/12 2014

9.8.1

9.8.1.0 https://github.com/blueimp/jQuery-File-Upload

File Upload widget for jQuery.

  Sources   Download

MIT

file php jquery bootstrap upload widget multiple progress gae drag python chunk preview drop selection cross-domain cross-site resume go

21/09 2014

9.8.0

9.8.0.0 https://github.com/blueimp/jQuery-File-Upload

File Upload widget for jQuery.

  Sources   Download

MIT

file php jquery bootstrap upload widget multiple progress gae drag python chunk preview drop selection cross-domain cross-site resume go

21/09 2014

9.7.2

9.7.2.0 https://github.com/blueimp/jQuery-File-Upload

File Upload widget for jQuery.

  Sources   Download

MIT

file php jquery bootstrap upload widget multiple progress gae drag python chunk preview drop selection cross-domain cross-site resume go

02/09 2014

9.7.1

9.7.1.0 https://github.com/blueimp/jQuery-File-Upload

File Upload widget for jQuery.

  Sources   Download

MIT

file php jquery bootstrap upload widget multiple progress gae drag python chunk preview drop selection cross-domain cross-site resume go

22/07 2014

9.7.0

9.7.0.0 https://github.com/blueimp/jQuery-File-Upload

File Upload widget for jQuery.

  Sources   Download

MIT

file php jquery bootstrap upload widget multiple progress gae drag python chunk preview drop selection cross-domain cross-site resume go

16/07 2014

9.6.0

9.6.0.0 https://github.com/blueimp/jQuery-File-Upload

File Upload widget for jQuery.

  Sources   Download

MIT

file php jquery bootstrap upload widget multiple progress gae drag python chunk preview drop selection cross-domain cross-site resume go

07/07 2014

9.5.8

9.5.8.0 https://github.com/blueimp/jQuery-File-Upload

File Upload widget for jQuery.

  Sources   Download

MIT

file php jquery bootstrap upload widget multiple progress gae drag python chunk preview drop selection cross-domain cross-site resume go

11/03 2014

9.5.7

9.5.7.0 https://github.com/blueimp/jQuery-File-Upload

File Upload widget for jQuery.

  Sources   Download

MIT

file php jquery bootstrap upload widget multiple progress gae drag python chunk preview drop selection cross-domain cross-site resume go

13/02 2014

9.5.6

9.5.6.0 https://github.com/blueimp/jQuery-File-Upload

File Upload widget for jQuery.

  Sources   Download

MIT

file php jquery bootstrap upload widget multiple progress gae drag python chunk preview drop selection cross-domain cross-site resume go

12/02 2014

9.5.5

9.5.5.0 https://github.com/blueimp/jQuery-File-Upload

File Upload widget for jQuery.

  Sources   Download

MIT

file php jquery bootstrap upload widget multiple progress gae drag python chunk preview drop selection cross-domain cross-site resume go

31/01 2014

9.5.4

9.5.4.0 https://github.com/blueimp/jQuery-File-Upload

File Upload widget for jQuery.

  Sources   Download

MIT

file php jquery bootstrap upload widget multiple progress gae drag python chunk preview drop selection cross-domain cross-site resume go

23/01 2014

9.5.3

9.5.3.0 https://github.com/blueimp/jQuery-File-Upload

File Upload widget for jQuery.

  Sources   Download

MIT

file php jquery bootstrap upload widget multiple progress gae drag python chunk preview drop selection cross-domain cross-site resume go

16/12 2013

9.5.2

9.5.2.0 https://github.com/blueimp/jQuery-File-Upload

File Upload widget for jQuery.

  Sources   Download

MIT

file php jquery bootstrap upload widget multiple progress gae drag python chunk preview drop selection cross-domain cross-site resume go

12/12 2013

9.5.1

9.5.1.0 https://github.com/blueimp/jQuery-File-Upload

File Upload widget for jQuery.

  Sources   Download

MIT

file php jquery bootstrap upload widget multiple progress gae drag python chunk preview drop selection cross-domain cross-site resume go

02/12 2013

9.5.0

9.5.0.0 https://github.com/blueimp/jQuery-File-Upload

File Upload widget for jQuery.

  Sources   Download

MIT

file php jquery bootstrap upload widget multiple progress gae drag python chunk preview drop selection cross-domain cross-site resume go

29/11 2013

9.4.2

9.4.2.0 https://github.com/blueimp/jQuery-File-Upload

File Upload widget for jQuery.

  Sources   Download

MIT

file php jquery bootstrap upload widget multiple progress gae drag python chunk preview drop selection cross-domain cross-site resume go

22/11 2013

9.4.1

9.4.1.0 https://github.com/blueimp/jQuery-File-Upload

File Upload widget for jQuery.

  Sources   Download

MIT

file php jquery bootstrap upload widget multiple progress gae drag python chunk preview drop selection cross-domain cross-site resume go

21/11 2013

9.4.0

9.4.0.0 https://github.com/blueimp/jQuery-File-Upload

File Upload widget for jQuery.

  Sources   Download

MIT

file php jquery bootstrap upload widget multiple progress gae drag python chunk preview drop selection cross-domain cross-site resume go

15/11 2013

9.3.0

9.3.0.0 https://github.com/blueimp/jQuery-File-Upload

File Upload widget for jQuery.

  Sources   Download

MIT

file php jquery bootstrap upload widget multiple progress gae drag python chunk preview drop selection cross-domain cross-site resume go

12/11 2013

9.2.1

9.2.1.0 https://github.com/blueimp/jQuery-File-Upload

File Upload widget for jQuery.

  Sources   Download

MIT

file php jquery bootstrap upload widget multiple progress gae drag python chunk preview drop selection cross-domain cross-site resume go

11/11 2013

9.2.0

9.2.0.0 https://github.com/blueimp/jQuery-File-Upload

File Upload widget for jQuery.

  Sources   Download

MIT

file php jquery bootstrap upload widget multiple progress gae drag python chunk preview drop selection cross-domain cross-site resume go

11/11 2013

9.1.0

9.1.0.0 https://github.com/blueimp/jQuery-File-Upload

File Upload widget for jQuery.

  Sources   Download

MIT

file php jquery bootstrap upload widget multiple progress gae drag python chunk preview drop selection cross-domain cross-site resume go

08/11 2013

9.0.2

9.0.2.0 https://github.com/blueimp/jQuery-File-Upload

File Upload widget for jQuery.

  Sources   Download

MIT

file php jquery bootstrap upload widget multiple progress gae drag python chunk preview drop selection cross-domain cross-site resume go

01/11 2013

9.0.1

9.0.1.0 https://github.com/blueimp/jQuery-File-Upload

File Upload widget for jQuery.

  Sources   Download

MIT

file php jquery bootstrap upload widget multiple progress gae drag python chunk preview drop selection cross-domain cross-site resume go

31/10 2013

9.0.0

9.0.0.0 https://github.com/blueimp/jQuery-File-Upload

File Upload widget for jQuery.

  Sources   Download

MIT

file php jquery bootstrap upload widget multiple progress gae drag python chunk preview drop selection cross-domain cross-site resume go

14/10 2013

8.9.0

8.9.0.0 https://github.com/blueimp/jQuery-File-Upload

File Upload widget for jQuery.

  Sources   Download

MIT

file php jquery bootstrap upload widget multiple progress gae drag python chunk preview drop selection cross-domain cross-site resume go

09/10 2013

8.8.7

8.8.7.0 https://github.com/blueimp/jQuery-File-Upload

File Upload widget for jQuery.

  Sources   Download

MIT

file php jquery bootstrap upload widget multiple progress gae drag python chunk preview drop selection cross-domain cross-site resume go

09/10 2013

8.8.5

8.8.5.0 https://github.com/blueimp/jQuery-File-Upload

File Upload widget for jQuery.

  Sources   Download

MIT

file php jquery bootstrap upload widget multiple progress gae drag python chunk preview drop selection cross-domain cross-site resume go