I ran a quick google and SO search and found similar questions but none were well formed and most were old and looked abandoned (no answers, and no comments for a while). So
You can use this
$(document).bind('drop', function (e) { var url = $(e.originalEvent.dataTransfer.getData('text/html')).filter('img').attr('src'); if (url) { jQuery('', { src: url, alt: "resim" }).appendTo('#yourId'); } return false; })