How to PREVENT COPYING OR DOWNLOADING pictures from my website

  • Thread starter Marcello do Guzman
  • Start date
M

Marcello do Guzman

I have several screenshot pictures of a software product I developed
on my website. I would like to prevent visitors to my website from
copying or downloading pictures when they use the right click feature
on the mouse. What is the HTML for this. Is there a feature in
Frontpage 2002 that allows you to add this setting to a website? Any
help would be greatly appreciated.

Thank you in advance.

Please respond by email to: (e-mail address removed)
 
S

Steve Easton

This can not be done.
The best you can do is embed
a text watermark in the image
with an image editing program.
 
C

Crush

Unfortunatley there is no foolproof way to do this.
However here are a few scripts that will disable the
right click and possibly stop some novices.

1. Just change the source on this to one of your own
image and place on the page as desired. It has a mouse
over effect. It is simple to use but has to be placed
wherever there is an image.

<A HREF="javascript:void(0)" onMouseover="alert('Please!
Do not download this image. Thanks!')"><IMG
SRC="http://someplace.com/image.gif" Align="center"
Border="0"></A>

2. This one is a little more complex but will disable
right click for the entire page.

<body onLoad="imageTrap()">
<script language="JavaScript">
function imageProtect() {
msg = "Downloading Image Not Allowed! ";

setTimeout( "alert( msg )", 0 );
return false;
}

function imageTrap() {
if( document.images ) {
for( i=0; i<document.images.length; i++ ) {
document.images.onmousedown =
imageProtect;
}
}
}
</script>

<img src='dummy.gif' width='100' height='20' border=1>

And of course you can change the wording of the alert to
whatever you want.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top