Click to See Complete Forum and Search --> : how to set up images so they can't be right-clicked on and saved?
morea
10-20-2004, 07:49 PM
I am not really sure what this is called, so I can't google search it...
How do I set up my site so that people can not just right click on the image of my artwork and save it for their own use? Does anybody know, or can you point me in the right direction?
The more people I meet, the more I love my cats.
You have to use javascript.. but there is no point... is easy to break that by just going to view->source.. there are also many other ways of bypassing that code
but if you still want it, just go to google and type in 'javascript no right click'
and p.s. it annoys a lot of users.
coconut
10-20-2004, 11:45 PM
or you can print screen to get the image. you can find the script i think on htmlgoodies, bignosebird, or dynamicdrive
What do I look like a smoken monkey?
Keyare
10-21-2004, 12:14 AM
<SCRIPT language=JavaScript>
function check(key){ if (event.button == 2) { alert("BAD!"); return false; }}
document.onmousedown = check;
</SCRIPT>
For IE anyway
Setting it up for images only is more difficult. And like ^ said it easy to get around...
you can't reallystop people from copying your images - they can always do a screen capture.
This is just a discouragement (or an enticement?)
Corprolite happened.
Post Edited (Keyare) : 10/20/2004 7:19:39 PM GMT
uncle carbunkle
10-21-2004, 01:45 AM
Keyare said...
This is just a discouragement (or an enticement?)
i know you are, but what am i?
:: Durable and doable in a swimsuit, yet not designed for surfing, cliff diving, extreme groping and other high-impact activities. ::
Ryan8720
10-21-2004, 03:12 AM
You can do it in Javascript (like above), but it only works in IE and it won't stop anyone that really wants your images. It used to annoy me, but now that I use Firefox I never know it's there.
Bottom line: If you put something on the internet, anyone can take it. Your best bet is to put a copyright statement at the bottom of each page.
http://www.edgewebdesign.org/images/misc/ryan_shadowmetal.gif (http://www.edgewebdesign.org)