Drag and Drop image with javascript
<body> <script src="http://www.walterzorn.com/scripts/wz_dragdrop.js"></script> <img name="name1" src="someImg.jpg" width=240 height=135> <script>SET_DHTML("name1")</script> </body>
You can make the image resizable (using shift-drag) by
SET_DHTML("name1"+RESIZABLE) // any size SET_DHTML("name1"+SCALABLE) // keep aspect ratio
See more detail here
http://www.walterzorn.com/dragdrop/dragdrop_e.htm