Skip to content
This repository has been archived by the owner on May 25, 2023. It is now read-only.

Plugin files

blueimp edited this page Nov 12, 2012 · 41 revisions
  • result.html is a helper page which allows to access cross-domain iframe contents via redirects.
  • postmessage.html serves as an API endpoint for cross-domain [postMessage]
  • loading.gif is an animated GIF image file used for the file processing indication.
  • progressbar.gif is an animated GIF image file used for the animation of the upload progress bars for browsers without support for CSS animations.
  • 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.
  • 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.
  • jquery.fileupload-fp.js extends the basic or UI version of the fileupload plugin and adds image processing (image resizing) functionality.
  • jquery.iframe-transport.js adds iframe transport support to jQuery.ajax().
  • main.js is an example how to initialize and use the File Upload plugin.
  • index.html contains the HTML markup for the unit tests.
  • test.js contains the JS code for the unit tests.

server

  • app.yaml is the configuration file for the Go App Engine application.
  • main.go is an example for a file upload handler component implemented in Go.
  • main.py is an example for a Python based server-side file upload handler component.
  • app.yaml is the configuration file for the Python App Engine application.
  • index.php is an example for a PHP upload handler.
  • upload.class.php is an example PHP upload handler class used by index.php.
  • .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.