Download jQuery ajax

as the title describes, I would like to create an image upload using ajax using jQuery. As far as I know, now there is no ajax image loading. Workarounds are iframes and flash. I do not like flash, I'm fine with the iframe hacker, I hope. How do they do it here: http://tinyw.in/UNnp

I have an element. I want to do this in order to double-click on an item, then a file browser will appear, you select your image, upload it, and the src image that you just clicked will change to the new path of the downloaded image. This is actually not so difficult.

Actually, this is what the link I wrote above does. I do not know what he does in detail, how he conveys everything, since there is no documentation.

So, can anyone explain what this plugin does in the backend, so I understand this. I do not know what to do with the php.php file, what should I pass as an action of the form.

thanks

+7
source share
2 answers

http://jquery.malsup.com/form/ this plugin is very nice. Just create a form, run the plugin with it, and you're done. Just process the downloaded files in PHP $ _FILES []

+8
source

the plugin you use uses ajax-upload . This project has several server side scripts in their github repository. Look here

0
source

All Articles