How do I disable the COPY feature on images???

This is a discussion on "How do I disable the COPY feature on images???" within the Graphics and 3D section. This forum, and the thread "How do I disable the COPY feature on images??? are both part of the Design Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Graphics and 3D

Notices




Closed Thread
 
LinkBack Thread Tools
  #1  
Old Mar 28th, 2007, 17:34
Junior Member
Join Date: Feb 2007
Location: USA
Posts: 45
Thanks: 0
Thanked 0 Times in 0 Posts
Question How do I disable the COPY feature on images???

I've seen this before on other sites and was wondering how is it done?
The COPY feature is disabled, so that you can't select an image and/or copy it. I think its a great/nifty little feature to aid in protecting copyrighted images from being stolen/used by other parties. I would like to use this feature, does anyone know how to do it? Or where I can find out how?

Your input is appreciated, thanks!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!

  #2  
Old Mar 28th, 2007, 17:39
Elite Veteran
Join Date: Dec 2005
Location: On Internet
Posts: 4,859
Thanks: 0
Thanked 0 Times in 0 Posts
Re: How do I disable the COPY feature on images???

Are you referring to blocking right click? Or are you referring to making the image not appear in the browser's cache?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #3  
Old Mar 28th, 2007, 17:40
Elite Veteran
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: How do I disable the COPY feature on images???

It's waste of time! It's javascript so it can be turned off in 2 seconds.

If you're afraid of people copying your images just don't put them on the internet. But if you really want them there ... I would suggest adding a watermark.

With PHP you can watermark images using ImageMagick
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #4  
Old Mar 28th, 2007, 17:43
Elite Veteran
Join Date: Dec 2005
Location: On Internet
Posts: 4,859
Thanks: 0
Thanked 0 Times in 0 Posts
Re: How do I disable the COPY feature on images???

Right, but still if someone wants a picture they are going to get it. Plain and simple! Watermark would be the best option, but it makes the art look like crap, most of the time. I guess the point of using the JavaScript is to stop people that are basic computer users and do not know how to turn off JavaScript.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #5  
Old Mar 28th, 2007, 17:44
Elite Veteran
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: How do I disable the COPY feature on images???

If you design your watermark properly, the image can still look very nice. I've seen it done very well on stock photo sites.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #6  
Old Mar 28th, 2007, 17:51
Elite Veteran
Join Date: Dec 2005
Location: On Internet
Posts: 4,859
Thanks: 0
Thanked 0 Times in 0 Posts
Re: How do I disable the COPY feature on images???

Very true, I should of just said sometimes the image looks like crap when watermarked. But I still feel the JavaScript method is a good option in addition to that, because it does stop the average user, but that is just me...lol
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #7  
Old Mar 28th, 2007, 17:56
Elite Veteran
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: How do I disable the COPY feature on images???

For sure the JS will work but ... I've taught that You cannot rely on JavaScript being available. Period.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #8  
Old Mar 28th, 2007, 18:01
Elite Veteran
Join Date: Dec 2005
Location: On Internet
Posts: 4,859
Thanks: 0
Thanked 0 Times in 0 Posts
Re: How do I disable the COPY feature on images???

Come on karinne...lol Most normal computer users have JavaScript on, and have no idea how to turn it off. Period! Even if they do who cares! If you use the water mark it will not matter to you...it is just to stop normal computer users.

Kinda like locks on doors. They are not impossible to break...I feel they real purpose is to keep out people who are not thief's, regular people that are not going to rob anyone. Just some added security...I know, I'm nuts!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #9  
Old Mar 28th, 2007, 18:06
Elite Veteran
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: How do I disable the COPY feature on images???

I LOVE to agree to disagree with you! It's what makes this thread so interesting to the OP that asked such a simple question
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #10  
Old Mar 28th, 2007, 18:07
Elite Veteran
Join Date: Dec 2005
Location: On Internet
Posts: 4,859
Thanks: 0
Thanked 0 Times in 0 Posts
Re: How do I disable the COPY feature on images???

hehehe...in short both methods will work. I would use both methods, but that is just me...lol, Let us know if you need anything else!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #11  
Old Mar 28th, 2007, 18:10
Junior Member
Join Date: Feb 2007
Location: USA
Posts: 45
Thanks: 0
Thanked 0 Times in 0 Posts
Re: How do I disable the COPY feature on images???

Thanks for the replies...wasn't really looking for a debate on it though, LOL

So how do I do it anyway? with the javascript.
I know there are still ways to get an image, but I'd still like to know how to do it, and I think the "newbie" computer users would be stumped by it still...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #12  
Old Mar 28th, 2007, 18:11
Junior Member
Join Date: Feb 2007
Location: USA
Posts: 45
Thanks: 0
Thanked 0 Times in 0 Posts
Re: How do I disable the COPY feature on images???

Quote:
Originally Posted by JacobHaug View Post
Are you referring to blocking right click? Or are you referring to making the image not appear in the browser's cache?
Would be nice to know how to do both, thank you
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #13  
Old Mar 28th, 2007, 18:16
Elite Veteran
Join Date: Dec 2005
Location: On Internet
Posts: 4,859
Thanks: 0
Thanked 0 Times in 0 Posts
Re: How do I disable the COPY feature on images???

hmmm...here is the block right click one.

Code: Select all
<td>
<script language=JavaScript>
<!--
var message="";
///////////////////////////////////
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if 
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers) 
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}

document.oncontextmenu=new Function("return false")
// --> 
</script>
</td>
Okay, I will have to look up the block browser cache option.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #14  
Old Mar 28th, 2007, 18:19
Elite Veteran
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: How do I disable the COPY feature on images???

I can't believe I'm doing this but here's one I found that prevents from copying images.

Code: Select all
   <SCRIPT LANGUAGE="JavaScript1.1">
  <!-- Original:  Martin Webb (martin@irt.org)   --> 
      
    <!-- This script and many more are available   free online at -->
  <!-- The JavaScript Source!! http://javascript.internet.com   --> 
      
    <!-- Begin
  function right(e) {
  if (navigator.appName == 'Netscape' &&
  (e.which == 3 || e.which == 2))
  return false;
  else if (navigator.appName == 'Microsoft Internet Explorer' &&
  (event.button == 2 || event.button == 3)) {
  alert("I'm sorry, The Right click option on   your mouse has been disabled for the download window pages.");
  return false;
  }
  return true;
  } 
      
    document.onmousedown=right;
  document.onmouseup=right;
  if (document.layers) window.captureEvents(Event.MOUSEDOWN);
  if (document.layers) window.captureEvents(Event.MOUSEUP);
  window.onmousedown=right;
  window.onmouseup=right;
  //  End -->
  </script>


taken from http://www.brownielocks.com/stopcopying.html you have to scroll a bit to find it.

But ... google found it for me
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #15  
Old Mar 28th, 2007, 18:20
Elite Veteran
Join Date: Dec 2005
Location: On Internet
Posts: 4,859
Thanks: 0
Thanked 0 Times in 0 Posts
Re: How do I disable the COPY feature on images???

I am to lazy to use Google...lol, but looks like it would work!

I like my block right click script better...lol
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #16  
Old Mar 28th, 2007, 19:50
Junior Member
Join Date: Feb 2007
Location: USA
Posts: 45
Thanks: 0
Thanked 0 Times in 0 Posts
Re: How do I disable the COPY feature on images???

Thank you both, I can't wait to give the scripts a try
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #17  
Old Mar 28th, 2007, 20:17
JustinStudios's Avatar
Reputable Member
Join Date: Mar 2007
Location: USA
Posts: 404
Blog Entries: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Re: How do I disable the COPY feature on images???

Not trying to be negative or pessimistic here, but most users know how to "Print Screen" to and get it that way. Also, if you want protection add a watermark, but do it correctly. There are two kinds of watermarks, 1) always visible and 2) visible on highlight only. I prefer the 2nd method as most people don't realize its there and if you see someone using your image they more than likely haven't removed the watermark.

Ohh, and don't put your site's name across the bottom corner, as no one cares about losing 10px of a pic, lol.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #18  
Old Mar 28th, 2007, 22:04
Highly Reputable Member
Join Date: Jul 2005
Location: Northampton, England
Age: 19
Posts: 506
Thanks: 0
Thanked 0 Times in 0 Posts
Re: How do I disable the COPY feature on images???

yeah if your gon to put it anyware put it corner to corner diaginal so if the try to cut it out they loose half the image also just make the opacity of the image like 5-10 so that you can still tell its there but you can also see the image nicely..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #19  
Old Mar 29th, 2007, 15:23
Junior Member
Join Date: Feb 2007
Location: USA
Posts: 45
Thanks: 0
Thanked 0 Times in 0 Posts
Re: How do I disable the COPY feature on images???

Quote:
Originally Posted by NoobSmith View Post
Not trying to be negative or pessimistic here, but most users know how to "Print Screen" to and get it that way.
I know, I've done that too...good point.
Quote:
Originally Posted by NoobSmith
Also, if you want protection add a watermark, but do it correctly. There are two kinds of watermarks, 1) always visible and 2) visible on highlight only. I prefer the 2nd method as most people don't realize its there and if you see someone using your image they more than likely haven't removed the watermark.

Ohh, and don't put your site's name across the bottom corner, as no one cares about losing 10px of a pic, lol.
Good tips, thanks! Watermark sounds like a good idea...I'll have to play around with that one

Quote:
Originally Posted by bruno89 View Post
yeah if your gon to put it anyware put it corner to corner diagonal so if the try to cut it out they loose half the image also just make the opacity of the image like 5-10 so that you can still tell its there but you can also see the image nicely..
good tip
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!