The queue should be emptied with 1.4.1, if the image is not found. Before this version, a bug occured.
-
- 572 Posts
Hi,
Where can i change the 'UPLOAD' text and the class on the button?
www.9thwave.co.uk
WEB | DESIGN | PRINT
-
- 1 Posts
Hello,
I'm using AjaxUpload with Formit+AjaxForm to send Contact form via ajax. Now I need to send form with attachments, i'm using AjaxUpload hooks, but is need another one, which will to remove uploaded files after send mail (hook which starts after mail hook). Could you add it or explain me how to remove all uploaded files?
-
- 58 Posts
Hi Jako, Thanks for this script!
Unfortunately the $attachment start with a slash and file_exists found the files only if I remove this first slash from the $attachment.
-
- 2 Posts
Hello,
I am trying to use AjaxUpload in my code but the files are not getting saved in desired directory. Hear is the piece of code
[[!Formit?
&preHooks=`Formit2AjaxUpload`
&hooks=`AjaxUpload2Formit`
&ajaxuploadFieldname=`image`
&ajaxuploadTarget=`images/uploads/`
&ajaxuploadUid=`image`
]]
<form action="[[~[[*id]]]]" method="post" class="form">
[[!AjaxUpload?
&uid=`image`
&allowedExtensions=`jpg,jpeg,png,gif`
&thumbX=`75`
&thumbY=`75`
]]
<br class="clear" />
<div class="form-buttons">
<input type="submit" value="Save" />
</div>
</form>
When I upload the file it shows me in /assets/components/ajaxupload/cache but my image files are not getting saved in desired directory when I hit the save button.
Can anyone help me out with this.
Thanks in advance.