View Full Version : disabling the drag off image

01-18-2003, 12:26 AM
I have a buddy that found that if you disable the right mouse button and also the IE6 image tool bar, you still can get pics off a web page.

if you left click and drag them to your desktop or to a folder it downloads them. So how do you stop this? I have looked all over and even tried to prog. myself with no luck


01-18-2003, 12:50 AM
You always can find a way to copy pics or see source code of a web page. It's the "problem" to make things public for all the world :rolleyes:

01-18-2003, 02:57 AM
reply Borgtex: the web page isn't on the internet. but a intranet. so that is the problem. I put web page so i didn't get people to think there is something else. Just don't want others to pull pictures off and save them to their hard drives when that would just cause the hard drives to fill up with not needed files.

thanks TGM

01-18-2003, 03:45 AM
If others fill up their hard drives inst that
their problem?

01-18-2003, 04:03 AM
not if he's the lan administrator. then it's his problem. well, atleast he has a right to be concerned.

there;s nothing to stop users from downloading pictures from a web page. not gonna happen. (unless you lock down there system, but then how will they conduct business?)

01-19-2003, 02:13 AM
ok guys lets just head in the fix not in all the other stuff

running IE6 to use as an in office tool. Tring to stop the ablitiy of dragging images form a web page to the desktop and/or a folder.

and yes I am the SYSTEM admin. And yes it is a problem. if they save pictures then I updates the pictures on the site. They might use the old pictures. not the new ones.

I have everything else disabled.
Yes i know if someone really wants a picture they can get it. But it is the people that know enough to be dangerous that I am tring to stop. I have went through the system and found about 3G of old pictures on hard drives. and clean it up again.

01-19-2003, 02:36 AM
I very much doubt that it can be done..
perhaps if you email ppl and let em know that they are causing problems?

01-19-2003, 04:50 AM
I'm not sure there are any ways to disable drag and drop images off of a webpage. But I do have a few thoughts.

1) I seen a program called BulletHTML Defender. Supposedly one of their features is to disable drag and drop. Their Website is http://www.htmldefender.com/using.html if you wanted to check it out. Be careful using the Options on this program. It over written all my html pages, but luckily I made a backup before I used this program.

2) Have you thought about making your website into a chromeless windows? Like you have an entrance page and when you click on a graphic or link etc. It opens up into a chromeless window. Which would cover every inch of the users screen, making the user unable to move the window to drag an image off of your webpage. But then again the only way the user would be able to close your website is by hitting ALT + F4.

Hope some of this has helped you in some way

Have a good weekend


01-19-2003, 05:55 AM
Hello Again,

I just had a couple more interesting ideas.

1) If you are designing your site in <table>'s. You can do something like a transparent gif as an image overlay. Like lets say that this is your coding.

<table width=100% cellspacing=0 cellpadding=0>

<td background="imageyouwanttoprotect.jpg" width="200" height="100">
<img src="transparentgif.gif" width="200" height="100">


I haven't tested this but it's an interesting idea. They will be copying a transparent gif instead of the actual image.

2) Also maybe you can make your picture a link.

Like <a href="copyright.html" ><img src="imageyouwanttoprotect.jpg border=0></a>

The person will be pulling the html file instead of the image file, and maybe you can have the copyright.html saying like: Sorry you can't have this image or something like that.

3) Also maybe if you make the picture a link, but you add an onclick function

example: <a href="#" title="image description" onclick='alert("Sorry This Function is Disabled")'><img src="imageyouwanttoprotect.jpg" border=0></a>

Just a few more ideas I've had.

Hope this helps you

Have a good weekend


01-19-2003, 09:54 PM
These are all good ideas but all these things can be worked around with a simple image capture.

01-20-2003, 03:48 AM
I was looking at that code but didn't think it was right

works great........I was looking at that code but didn't think it was right

01-20-2003, 03:59 AM
Richard is on the right track.
However, all you need to do is make image a background of an element to make it unavailable for dragging. No need for links or transparent gifs.