Extension:JQueryUpload

From Organic Design wiki
Revision as of 13:50, 18 September 2012 by Nad (talk | contribs) (screenie)

A job I'm working on requires jQuery file uploads into the wiki using the "attach file" link and also directly into Ajax comments. But they require that the files be able to be renamed before uploading, so I'll need to modify the upload code slightly. Changing the filename part into an input box is simply a matter of changing template-upload (which is index.html in the demo code), but processing the PHP side may be more difficult since there can be many files uploading at once and they can upload in chunks.

The initial test works for single non-chunked files which is simply to adjust server/php/index.php to overwrite the name in the $_FILES array with the new name from the input box added to the form called upload_rename_file.

{{{1}}}



File-upload-rename.jpg