It’s normally done with javascript inserted into the head section of your document. Just Google “no right click” or some such thing and you’ll get oodles of examples.
I must issue a caveat however. There is no such thing as “no right click proof”. These methods only prevent the most novice of users. If someone really wants to steal the material on your page they need only disable javascript in their browser. I (as well as many others) surf with JS turned off by default enabling it only for sites I trust. Someone could also simply take a screen shot of your page. Also don’t forget when a visitor arrives at your site your page is downloaded to the visitor’s browser cache. Said visitor needs only pull the info from their cache.
Maybe, I’ll just stick with watermarking low res images… For my photography, I could care less if they steal a 300×400 image, it’s not going to get them a beautiful 8×10 or 16×20.
I just wanted to do a bit less work on my part. I know about screen-shots and what not… and I’m no big-timer, I just wanted to deter people from copying my images for myspace or facebook, or whatever.
And I know the code, I just don’t know which .php file to add it to.
Maybe, I’ll just stick with watermarking low res images
That’s the best solution. 🙂
And I know the code, I just don’t know which .php file to add it to.
header.php somewhere before the closing </head> tag.
I do appreciate it… silly as it seems, maybe it will deter people from copying my photos. 🙂