Tech Support banner

Status
Not open for further replies.
1 - 20 of 36 Posts

·
Registered
Joined
·
165 Posts
Discussion Starter #1
I'm trying to create my homepage which contains images that I want to be "protected" - no save, send, print etc... (via properties)

I also want to disable the pop-up image tool bar that allows these actions.

Can you help me ?

Gr
 

·
Premium Member
Joined
·
1,611 Posts
hello, slam hows it going ?
To tell you the truth, IMO, only way to protect your images is to "watermark" them or put a little copyright notice on each...You can try using a javascript that disables the right click, but there are ways around it...plus, some people use right click to browse so that can turn away some users from visiting your site...

The code should look something like this :
(You might need to modify it to fit your needs)

Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
     <TITLE>title goes here</TITLE>
</HEAD> 
<script language="javascript"> 
function click2() {if (event.button==2) 
{alert(' right-click disabled ')}}document.onmousedown=click2
function stopError() { return true; }window.onerror = stopError;function 
statusmine(){window.status='copy';} 
</script>

<BODY>
text you want here
</BODY>
</HTML>
Good luck dude :D :winkgrin:
 

·
Registered
Joined
·
165 Posts
Discussion Starter #3
thanks Merlin,

I tried it right away, and disabling the right click works fine !

but what about the image pop-up ?

gr
 

·
Premium Member
Joined
·
1,611 Posts
Slam,
Are you talking about a pop up that comes up when you mouse-over the image, like in Windows 2000 or XP ?
 

·
hey
Joined
·
10,189 Posts
The thing about disabling right click and the bar in IE 6 is that a person can still go in and view the source of the site and see where the images are linked too, and they are in the cache on the their computer.

I agree with merlin. Watermarking them is about the only way.
 

·
Registered
Joined
·
165 Posts
Discussion Starter #6
you can view the source if you right-click, yes

and I'm talking about XP
 

·
Registered
Joined
·
165 Posts
Discussion Starter #8
Merlin,

thank you for the tip, I will certainly read this stuff and let you know when I find the solution.

Gr
 

·
Registered
Joined
·
165 Posts
Discussion Starter #9
Merlin,

I tried some of the Java scripts on the site you mentioned,
and I think my problems are solved :

I killed the Image pop-up from IE 6 by inserting coding (META) in the "head section" of my document, and disabled both left and right click on the whole page.

Links can be accessed without problem.

------------------------------------------------------------------------------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>

<head>
<META HTTP-EQUIV="imagetoolbar" CONTENT="no">
<title>Michèle Costa</title>
</head>

<body bgcolor="#F5F5F5">

<h1>
<center>
<font face="Arial"><b><i>Michèle Costa - Artiste Peintre</i></b></font>
</h1>

<p><font size="+2" align="center">Regards sur la Tunisie
<br>
<br>

<SCRIPT LANGUAGE="JavaScript" type="text/javascript" >
// disable left & right mouse clicks for the whole page except for LINKS
// cfr www.lucidimages.net/
<!--
document.oncontextmenu = function(){return false}
if(document.layers) {
window.captureEvents(Event.MOUSEDOWN);
window.onmousedown = function(e){
if(e.target==document)return false;
}
}
else {
document.onmousedown = function(){return false}
}
//-->
</SCRIPT>

<center>
<img src="invitationc.jpg" border="0">

<br>
<font size="-1" color="#0000FF">
<a href="mailto:[email protected]">send me a mail</a>
<br clear="all">

</body>
</html>
------------------------------------------------------------------------------------

thanks !
 

·
Registered
Joined
·
15 Posts
well, about the right-click popup menu you want to disable, I've got the experience most attempts to prevent this don't work.
There's a litlle, and very simple flaw in this one. Namely, when you right click and hit return at almost the same time, you get the message that right click is disabled, which disappears almost immediately, and the menu will still be popping.......

I don't know of any, but probably there must be a way to prevent this falw......
 

·
TSF Enthusiast
Joined
·
6,298 Posts
In most of my experiences, you can also hold the left mouse button down and then click the right button, releasing the left button first and then the right one.
 

·
Registered
Joined
·
165 Posts
Discussion Starter #12
well I just tried the actions you mentioned

and all I get is a symbol "not allowed" being a circle with a / sign in it.
 

·
TSF Enthusiast
Joined
·
6,298 Posts
That's why I said "most". There are some sites that don't work with my method.
 

·
Registered
Joined
·
277 Posts
is this the img your trying to protect?


when you surf, the page is automatically downloaded into the temp net dir
 

·
Registered
Joined
·
165 Posts
Discussion Starter #16 (Edited)
nope, probably you need to insert 'www.' before the address ???

you should have had 'error' in the address string appearing in your browser.

try this http://www.users.skynet.be/fa620383/index.htlm

The image you should see is a PAINTING by Michèle Costa.

Gr

----------------------------------------------------------------------------------
there seems to a problem indeed : I had this checked with several ISP in Belgium and everything was OK ???

the background image you get (in error) belongs to my service-provider !

????
 

·
TSF Enthusiast
Joined
·
6,298 Posts
I usually make the .clom mistake.

But there is always a way around copy protection:

(image deleted)
 

·
TSF Enthusiast
Joined
·
6,298 Posts
But of course it did take a while and the average user would not be able to do that. Whatever code you put in eliminates the ability to scroll without highlighting

And I'll remove the attachment if you want
 
1 - 20 of 36 Posts
Status
Not open for further replies.
Top