Javascript file upload plugin with progress bar support. Works in all major browsers, including IE7+, Chrome, Firefox, Safari, and Opera. No dependencies - use it with or without jQuery.
This code works perfectly except there is no resizing...
If i add 2 line of code to copy to another folder to create the second one pic...
i dadd those 2 lines:
$uploader->uploadDir = 'extras/2/'; $result = $uploader->handleUpload();
but nothing works when i call again $result = $uploader->handleUpload();`
So How can i create 2 picture with deferent size ?
Hello!
Thanks for Simple Ajax Uploader! Its Very Good.
I have 1 question. When user upload a picture... i would like to create 2 picture... one small and another bigger with specific height and width
here what i try : `$uploader = new FileUpload('uploadfile');
// Handle the upload $uploader->allowedExtensions = array('jpg', 'jpeg', 'png', 'gif'); $uploader->sizeLimit = 10485760; $uploader->uploadDir = 'extras/1/'; $result = $uploader->handleUpload();`
This code works perfectly except there is no resizing... If i add 2 line of code to copy to another folder to create the second one pic... i dadd those 2 lines:
$uploader->uploadDir = 'extras/2/'; $result = $uploader->handleUpload();
but nothing works when i call again $result = $uploader->handleUpload();`
So How can i create 2 picture with deferent size ?