formit2resource/resource2formit has to move the files from/to the ajaxuploadTarget folder.
When the form gets submitted, aren't the uploaded images (via Ajaxupload) saved to target (&ajaxuploadTarget) directory, and the paths for that files (to &ajaxuploadTarget directory) saved at &ajaxuploadFieldname given field name?
How can I change the Text of the Upload-Button?
Quote from: gordonas at Jan 19, 2016, 02:00 PMWhen the form gets submitted, aren't the uploaded images (via Ajaxupload) saved to target (&ajaxuploadTarget) directory, and the paths for that files (to &ajaxuploadTarget directory) saved at &ajaxuploadFieldname given field name?
Yes but if i.e. formit2resource/resource2formit renames the files or moves them on user/resource base or whatever, you have to move it back to the ajaxuploadTarget. Otherwise AjaxUpload does not fill the upload queue again.
Maybe the target folder is not writable for PHP.
The upload connector itself is not secured on user permission (this could be provided by changing the connector). Random filenames (for uploads and thumbs) during upload avoid hotlinking of uploaded files that are not moved to target after form submission.
The only problem that could occur is posssible floading the server with uploaded files. Uploaded files stay in cache for 4 hours per default. Automatic purging will executed after each upload. The cache could be cleaned manually by calling AjaxUpload::clearCache(xxx) with other values in xxx.