I have uploaded an image and in jquery
, I have stored that image source using
window.URL.createObjectURL()
method but after loading it returns blob URL and fails to save the source.
var img = document.createElement("img");
img.src = window.URL.createObjectURL(files[0]);