I am experimenting with the HTML5 API. However, I notice that browsers have default behavior when they display an image if you drag the image into the browser. However, this can be annoying if your goal is to upload an image rather than view it.
I am wondering if there is a way to prevent this behavior? I tried stopPropagation / preventDefault in the ondrop event, which works somewhat, but leaves the drop cursor in place, giving the impression that the image can be dropped anywhere on the page.
Ideally, you will only see the drop cursor in the designated area where the images should be dropped.
Kenneth spencer
source share