• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
AJAX Image Upload - jQuery

#1
[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!

#2
[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

#3
[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.

#4
[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

#5
[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

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

#7
[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.

#8
[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-imag...p-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

#9
[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.

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


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.