0

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

justinl
  • 10,448
  • 21
  • 70
  • 88

1 Answers1

1

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

Check the demos and this question for more alternatives.

Community
  • 1
  • 1
Christian C. Salvadó
  • 807,428
  • 183
  • 922
  • 838