View Full Version : Disable image drag & drop

01-03-2004, 12:07 AM
Could someone kindly tell me if there is a script to disable the image drag and drop function? I can disable the IE6 image toolbar, but thats all!

Thanks for any help.

01-03-2004, 05:57 AM
What do you mean by "drag and drop function"? :confused:

01-03-2004, 06:26 AM
I have disabled the right mouse button and also the IE6 image tool bar, but I can still drag images off the web page..

If you left click and drag the image to your desktop it downloads the image to your hard drive. I have looked everywhere for a script to overcome this, but had no-luck. Any suggestions

01-03-2004, 06:48 AM
Originally posted by southwestalarms
downloads the image to your hard drive.Right when the image is viewed this happens as well. There is no way to prevent it. Adding so-called "protection" features generally end up annoying users. If you don't want it stolen, simply don't upload it. Another alternative would be to only provide the thumbnails for your images or possibly watermark them.

01-03-2004, 06:51 AM
Cheers for all your help. Mark

Willy Duitt
01-03-2004, 07:19 AM
I wholeheartedly agree with Fred,
But; Try this:

<body oncontextmenu="return false";ondragstart="return false";onselectstart="return false">


01-03-2004, 07:29 PM
if people want your images and they are drag and drop proof and the right clock is disabbled they can still print screenso there is nothing you can do about that