Jump to main content Jump to doc navigation

AjaxUpload

Other versions: 3.x — Found a problem? Please edit this page or report an issue.

What is AjaxUpload?

With this snippet an upload button for uploading multiple files with progress-bar 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.

Requirements

  • MODX Revolution 2.2.x or later
  • PHP5.2 or later

History& Info

AjaxUpload was initially written in 2012 for MODX Evolution and is maintained and developed since then by Thomas Jakobi.

Download

AjaxUpload can be downloaded from within the MODX Revolution manager via Package Management, or from the MODX Extras Repository, available on http://modx.com/extras/package/ajaxupload2

Documentation

The package documentation can be found at http://jako.github.io/AjaxUpload/

Development & Bug Reporting

AjaxUpload has a GitHub repository to file bugs and get support at https://github.com/Jako/AjaxUpload

It has also a forum thread at http://forums.modx.com/thread/86791/support-comments-for-ajaxupload