Can I disable viewers 'dragging and dropping' my jpeg images onto their desktop? in Images & Videos Posted March 31, 2013 · Edited January 9, 2015 by Nic Hi there, Can I disable viewers 'dragging and dropping' my jpeg images onto their desktop? I have already implemented code to disable right click (below) ---> <script src="http://ajax.googleapis.com/ajax/libs/jquery /1.3.2/jquery.min.js" type="text/javascript"></script> <script type="text/javascript" language="javascript"> $(function () { $(this).bind("contextmenu", function (e) { e.preventDefault(); }); }); </script> Is there code that will stop users dragging and dropping images aswell or can the above code be altered? I have seen this done on other sites that use HTML. Many thanks CameraWala, nobutan and Ari 3
Can I disable viewers 'dragging and dropping' my jpeg images onto their desktop?
in Images & Videos
Posted · Edited by Nic
Hi there,
Can I disable viewers 'dragging and dropping' my jpeg images onto their desktop?
I have already implemented code to disable right click (below) --->
Is there code that will stop users dragging and dropping images aswell or can the above code be altered? I have seen this done on other sites that use HTML.
Many thanks