views:

81

answers:

1

I have a website were users can create a profile and upload an image for their avatar. The way I have it set up now is a simple HTML form one with an upload box where you Browse to pick a file, and then press "upload" to submit the form.

What technology/language would be the best to have the image automatically upload and display on the page once the file is selected WITHOUT submitting the form.

A live example of what I would like is how Gmail uploads their attachments automatically once you pick the file from the file browser.

Thanks

+1  A: 

You could use a library like SWFUpload, which is JavaScript/Flash based.

Check the demos and this question for more alternatives.

CMS