Posted on: 12/19/2013 5:46:34 AM | Views : 871

What I Want
I want to get Imagedata from Form , convert to image and then want to save in a folder. 
What I am Doing
 I am passing image by converting to image  data url to a handler.ashx  page  by Ajax. 
In my default.aspx , I have a file uploader and a image. When file uploader  uploads image , I am showing uploaded image file to image (result_image).
And then I am converting image to image data url, wrapping in a form data and sending to handler.ashx . 

Here's the code that send image data url inside form.
var mgsrc =document.getElementById('result_image').value;
var fd = new FormData(); fd.append( 'file', mgsrc ); $.ajax({ url: 'http://localhost: ...

Go to the complete details ...