An AJAX file upload widget using the awesome FilePond javascript library.
https://pqina.nl/filepond/ by Rik Schennink
Includes support for drag & drop in Internet Explorer 11 via polyfills.
Features
* Ajax file upload
* Choose from the UploadBlock and the AutoUploadBlock where no further submit button click is required
* Multiple file upload
* Instant or click to upload
* Select file via browse or drag/drop (including IE11)
* Image preview
* Image editing (purchase of Doka image editing library required)
* Restrict to specific MIME types
* Maximum file size
* Maximum number of uploaded files
Usage
* Drag the UploadBlock onto your page.
* Pass in configuration for the upload.
For the UploadBlock web block,
* Drag a text input control into the block. This is for storing the tokens for uploaded files.
* On submit (can be ajax) call FilePondUpload_GetUploadedFiles() passing the submitted tokens to retrieve files.
For the AutoUploadBlock web block,
* Implement the FilesUploadedEvent event to retrieve files and process them.
In all cases,
* Upon retrieving the uploaded files, their temporary copy will be removed.
* A timer will remove temporary uploaded files older than 30 minutes.
See the FilePondUpload_Sample for examples of how to use the widgets.
See Documentation for how to include Doka files for image editing.
Updated to the latest version of FilePond v4.28.2.
Fixed a bug where unknown filetypes may not upload.
Fixed a bug where .msg files would not appear in browser mode. When uploading .msg files, and you want to limit to acceptable file types, do not configure using the Microsoft Outlook MIME type, instead use "*.msg".