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 Sep 26, 2012 · 41 revisions

JavaScript

CSS

HTML

  • 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.

Google App Engine Go

Google App Engine Python

Node.js

PHP

  • 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.

Other