Tuesday 15 September 2015

c# - Send image data to server in IE 8, IE9 -


In FF and Chrome we can send image data to the server via this code:

 < Code> canvas .toDataURL ("image / png");   

And then this base is 64 string decoded and extracted on the server. I have problems in IE Right now I have the image in the "img" control like:

     

I do not want to send this image data (SRC) to the server in IE 8,9. Can you help me do that? Any hints to get it?

As you know it is hard to do without canvas (not supported in IE8 / IE9 ). Which version of ASP.NET is your server? I think it wants to solve by writing a controller action that can take an image to a source URL and download the action image and change it to base 64, then where to send it May be.

No comments:

Post a Comment