Display an upload button for uploading multiple files with progress counter. The upload queue could be filled and saved by Formit hooks.
With this snippet an upload button for uploading multiple files with progress counter is generated. Works well in FF3.6+, Safari4+, Chrome and falls back to hidden iframe based upload in other browsers, providing good user experience everywhere.
All uploaded images and generated thumbnails are given random filenames to avoid hotlinking uploaded not published fullsize images. Automatic thumbnail generation for uploaded jpeg, png and gif files. Other uploaded files will get a generic icon.
With two Formit hooks the upload queue could be pre filled from Formit field value and saved into Formit field value.
This Extra is a Snippet-/jQuery-Wrapper for Andrew Valums great file upload script.
Documentation on MODX Docs
Bugtracker and hotfixes on GitHub