Skip to content

Jako/AjaxUpload

Repository files navigation

Default Lexicon

AjaxUpload

Display an upload button for uploading multiple files with progress counter. The upload queue could be filled and saved by FormIt hooks.

MODX Revolution Snippet and jQuery Script Wrapper for Andrew Valums great file upload script (https://github.com/Valums-File-Uploader/file-uploader).

Features

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 files and generated thumbnails are given random filenames to avoid hotlinking uploaded not published files. Automatic thumbnail generation for uploaded jpeg, png and gif files. Other uploaded files will get a generic icon the file extension.

With two FormIt hooks the upload queue could be pre filled from FormIt field value and saved into FormIt field value. With a third FormIt hook uploaded files could be attached to the FormIt mails.

For more information please read the documentation.

Installation

MODX Package Management

Usage

Install via package manager and use the snippets and the FormIt hooks.

License

The project is licensed under the GPLv2 license.

Translations

Translations of the package can be made for the Default Lexicon, the Properties Lexicon and the System Setting Lexicon