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.



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

Notices


Closed Thread
 
LinkBack Thread Tools
  #1 (permalink)  
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!

  #2 (permalink)  
Old Mar 28th, 2007, 17:39
JacobHaug's Avatar
SuperMember

SuperMember
Join Date: Dec 2005
Location: On Internet
Posts: 4,859
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to JacobHaug Send a message via MSN to JacobHaug
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?
  #3 (permalink)  
Old Mar 28th, 2007, 17:40
karinne's Avatar
SuperMember

SuperMember
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
  #4 (permalink)  
Old Mar 28th, 2007, 17:43
JacobHaug's Avatar
SuperMember

SuperMember
Join Date: Dec 2005
Location: On Internet
Posts: 4,859
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to JacobHaug Send a message via MSN to JacobHaug
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.
  #5 (permalink)  
Old Mar 28th, 2007, 17:44
karinne's Avatar
SuperMember

SuperMember
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.
  #6 (permalink)  
Old Mar 28th, 2007, 17:51
JacobHaug's Avatar
SuperMember

SuperMember
Join Date: Dec 2005
Location: On Internet
Posts: 4,859
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to JacobHaug Send a message via MSN to JacobHaug
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
  #7 (permalink)  
Old Mar 28th, 2007, 17:56
karinne's Avatar
SuperMember

SuperMember
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.
  #8 (permalink)  
Old Mar 28th, 2007, 18:01
JacobHaug's Avatar
SuperMember

SuperMember
Join Date: Dec 2005
Location: On Internet
Posts: 4,859
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to JacobHaug Send a message via MSN to JacobHaug
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!
  #9 (permalink)  
Old Mar 28th, 2007, 18:06
karinne's Avatar
SuperMember

SuperMember
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
  #10 (permalink)  
Old Mar 28th, 2007, 18:07
JacobHaug's Avatar
SuperMember

SuperMember
Join Date: Dec 2005
Location: On Internet
Posts: 4,859
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to JacobHaug Send a message via MSN to JacobHaug
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!
  #11 (permalink)  
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...
  #12 (permalink)  
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
  #13 (permalink)  
Old Mar 28th, 2007, 18:16
JacobHaug's Avatar
SuperMember

SuperMember
Join Date: Dec 2005
Location: On Internet
Posts: 4,859
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to JacobHaug Send a message via MSN to JacobHaug
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.
  #14 (permalink)  
Old Mar 28th, 2007, 18:19
karinne's Avatar
SuperMember

SuperMember
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
  #15 (permalink)  
Old Mar 28th, 2007, 18:20
JacobHaug's Avatar
SuperMember

SuperMember
Join Date: Dec 2005
Location: On Internet
Posts: 4,859
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to JacobHaug Send a message via MSN to JacobHaug
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
  #16 (permalink)  
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
  #17 (permalink)  
Old Mar 28th, 2007, 20:17
JustinStudios's Avatar
SuperMember

SuperMember
Join Date: Mar 2007
Location: USA
Posts: 406
Blog Entries: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to JustinStudios
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.
  #18 (permalink)  
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
Send a message via MSN to bruno89
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..
  #19 (permalink)  
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
  #20 (permalink)  
Old Mar 29th, 2007, 15:24
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???

I guess the fact of the matter is, that if its available online, anyone can get it, one way or another...nothing is really protected.
Closed Thread

Tags
disable copy, images

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Right click disable.. tipgal JavaScript Forum 6 Feb 10th, 2008 18:46
disable two inputs smudge618 JavaScript Forum 2 Feb 7th, 2008 15:24
How to disable a hyper link <A> alok356 Web Page Design 3 Nov 10th, 2005 04:11
Disable button Nick JavaScript Forum 26 Jan 29th, 2005 07:20


All times are GMT. The time now is 17:29.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43