This repository has been archived by the owner on May 25, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Plugin files
blueimp edited this page Feb 9, 2012
·
41 revisions
- js/jquery.fileupload.js is the basic plugin - it enhances the file upload process, but doesn't make any assumptions about the user interface or the content-type of the response.
- js/jquery.fileupload-ui.js is an extension to jquery.fileupload.js. The UI version expects JSON as the response content and adds a complete user interface.
- js/jquery.iframe-transport.js adds iframe transport support to jQuery.ajax().
- js/main.js is an example how to initialize and use the File Upload plugin.
- js/cors/jquery.postmessage-transport.js adds postMessage transport support to jQuery.ajax().
- js/cors/jquery.xdr-transport.js adds XDomainRequest transport support to jQuery.ajax().
- js/vendor/jquery.ui.widget.js provides the jQuery UI widget factory.
- test/test.js contains the JS code for the unit tests.
- css/jquery.fileupload-ui.css adds styling for the file input field, progress bars and upload buttons. See Style Guide.
- index.html is a HTML markup example for the file upload form and the upload/download templates and serves as demo page.
- cors/result.html is a helper page which allows to access cross-domain iframe contents via redirects.
- cors/postmessage.html serves as an API endpoint for cross-domain postMessage based file uploads.
- test/index.html contains the HTML markup for the unit tests.
- server/gae-go/app/main.go is an example for a file upload handler component implemented in Go.
- server/gae-go/app/resize/resize.go is a Go image resizing library.
- server/gae-go/app.yaml is the configuration file for the Go App Engine application.
- server/gae-python/main.py is an example for a Python based server-side file upload handler component.
- server/gae-python/app.yaml is the configuration file for the Python App Engine application.
- server/php/index.php is an example for a PHP upload handler.
- server/php/upload.class.php is an example PHP upload handler class used by index.php.
- server/php/files/.htaccess contains instructions for Apache to serve all uploaded files with a content-type of application/octet-stream, except image files. This prevents executing any uploaded script files and makes sure non-image files produce a download dialog.
- server/php/thumbnails/.htaccess doesn't serve any purpose other than making sure the thumbnails folder shows up in the Git source code repository.
- README.md contains basic plugin information in markdown format.
- img/progressbar.gif is an animated GIF image file used for the animation of the upload progress bars.