CodeIgniter Forums
AJAX Image Upload - jQuery - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: AJAX Image Upload - jQuery (/thread-2389.html)



AJAX Image Upload - jQuery - El Forum - 08-02-2007

[eluser]Unknown[/eluser]
Can please someone give me a few pointers on how can somebody upload an image with ajax? If it uses jQuery it's better but I think I can replicate it in that library.

Thanks guys!


AJAX Image Upload - jQuery - El Forum - 08-02-2007

[eluser]woopsicle[/eluser]
use jquery-form - it makes it pretty simple to do that kind of thing.

http://www.malsup.com/jquery/form/#code-samples

i can give more code samples if you need


AJAX Image Upload - jQuery - El Forum - 08-02-2007

[eluser]Crimp[/eluser]
They basically can't. AJAX, by one definition, refers to the XMLHttpRequest object. That's a different pipe on the Internet tubes. The workaround is to use an iframe.

There's the standard jQuery uploader http://www.pixeline.be/experiments/jqUploader/test.php or http://www.air4web.com/files/upload/, for example.


AJAX Image Upload - jQuery - El Forum - 10-24-2007

[eluser]abmcr[/eluser]
[quote author="Crimp" date="1186084542"]
There's the standard jQuery uploader http://www.pixeline.be/experiments/jqUploader/test.php[/quote]
I try to use this script but i get an $_FILES array null.....any one has used it with success? Thank you


AJAX Image Upload - jQuery - El Forum - 10-24-2007

[eluser]Phil Sturgeon[/eluser]
Make sure that mod_security is off. Use this in your htaccess:

Quote:SecFilterEngine Off
SecFilterScanPOST Off

Ya'll should take a look at jUpload. Its some smelly beefy Java but after you spend a few days wrestling with it, its good fun!

/hug MrEnirO


AJAX Image Upload - jQuery - El Forum - 10-24-2007

[eluser]abmcr[/eluser]
I have made a little bit arrangement. See at WIKI for the use of jquery uploader with the CI


AJAX Image Upload - jQuery - El Forum - 06-17-2008

[eluser]ahmad furqon[/eluser]
would you please, give me more brief explanation in your WIKI?

where should i put jqUploader.swf and .fla
in my case, form aint trigerred after i finish browse file to be uploaded, no "upload" button showed up.
i've tried to change the path in jqUploader to point out those files, but seems still failed.


thank you.


AJAX Image Upload - jQuery - El Forum - 11-22-2008

[eluser]Unknown[/eluser]
Hey there,

We have just created a jquery'd image upload and crop script with a php backend, take a look:

http://www.webmotionuk.co.uk/jquery-image-upload-and-crop-for-php/

We used the one-click upload for jquery and it seems to be working great! Full source code and demo provided.

Regards

WebMotionUK


AJAX Image Upload - jQuery - El Forum - 01-15-2009

[eluser]Unknown[/eluser]
You can use my ajax upload plugin for jquery and prototype, it allows you to upload multiple files and use any element as upload button.


AJAX Image Upload - jQuery - El Forum - 03-22-2011

[eluser]sanket[/eluser]
@webmotionuk : do you have same script for CI yet?