script to protect images

Reply

Join Date: May 2008
Posts: 20
Reputation: tecktalk is an unknown quantity at this point 
Solved Threads: 0
tecktalk tecktalk is offline Offline
Newbie Poster

script to protect images

 
0
  #1
Jun 6th, 2008
I am working on a website that showcases other artist's work. How does one program the images to display beautifully without allowing

the end-user to steel the image?

In the past, I've used a script that just disables the right click function. I'd like something a bit more sofisticated where it is an

ecommerce site. Remember, I am not a sofisticated programmer...so be specific as to what to do with script if you send any.

Thanks!

____________________
<URL snipped>
Last edited by peter_budo; Jun 6th, 2008 at 12:49 pm.
Reply With Quote Quick reply to this message  
Join Date: May 2008
Posts: 160
Reputation: rajarajan07 is on a distinguished road 
Solved Threads: 23
rajarajan07's Avatar
rajarajan07 rajarajan07 is offline Offline
Junior Poster

Re: script to protect images

 
0
  #2
Jun 7th, 2008
Hi,

You can make watermarks on images, most of the sites using that format only. Because there are so many ways to get the image from the net. If you disabled right click, they will try to the use PrintScreen option to get your image.
Thanks & Regards,
RajaRajan. R

trulyraja2009@yahoo.in
Reply With Quote Quick reply to this message  
Join Date: Jun 2008
Posts: 1
Reputation: amrad is an unknown quantity at this point 
Solved Threads: 0
amrad amrad is offline Offline
Newbie Poster

Re: script to protect images

 
0
  #3
Jun 8th, 2008
what is watermark?? and how to use it??
Reply With Quote Quick reply to this message  
Join Date: Mar 2006
Posts: 195
Reputation: HI2Japan is an unknown quantity at this point 
Solved Threads: 21
HI2Japan HI2Japan is offline Offline
Junior Poster

Re: script to protect images

 
0
  #4
Jun 8th, 2008
Disabling right click doesn't work anyway because someone can view the source to see the url of the picture with the file name, type that into a browser window and you have the picture in a window all by itself with no disbaled right click.
Who was the first person to look at a cow and say, "I think I'll squeeze these dangly things here, and drink whatever comes out!"
Reply With Quote Quick reply to this message  
Join Date: May 2008
Posts: 160
Reputation: rajarajan07 is on a distinguished road 
Solved Threads: 23
rajarajan07's Avatar
rajarajan07 rajarajan07 is offline Offline
Junior Poster

Re: script to protect images

 
0
  #5
Jun 9th, 2008
WaterMark is nothing but Print your name or brand name in center of the image by reducing the opacity to low level.
Thanks & Regards,
RajaRajan. R

trulyraja2009@yahoo.in
Reply With Quote Quick reply to this message  
Join Date: Jul 2007
Posts: 80
Reputation: reen.blom is an unknown quantity at this point 
Solved Threads: 1
reen.blom's Avatar
reen.blom reen.blom is offline Offline
Junior Poster in Training

Re: script to protect images

 
1
  #6
Jun 10th, 2008
Often it works to press space bar while right clicking and there you go-save image...

If they REALLY want that image there is always a way to get it? It is also quite irritating to have right click disabled cos im used to browsing by right-clicking and opening links in new tabs...

I suppose even watermark can be even painted over in Photoshop...LOL(One hell of a job though)

I was contemplating a site with artwork myself... thought to put a copyright notice in a bottom corner of the image... cos watermark looks scary....

I suppose the only way to avoid prints is not to put high resolution image? I dunno....
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 3,210
Reputation: MidiMagic has a spectacular aura about MidiMagic has a spectacular aura about 
Solved Threads: 165
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Nearly a Senior Poster

Re: script to protect images

 
0
  #7
Jun 14th, 2008
If they can see the image, the file is already on their computer. All they have to do is retrieve it.
Daylight-saving time uses more gasoline
Reply With Quote Quick reply to this message  
Join Date: Jul 2007
Posts: 80
Reputation: reen.blom is an unknown quantity at this point 
Solved Threads: 1
reen.blom's Avatar
reen.blom reen.blom is offline Offline
Junior Poster in Training

Re: script to protect images

 
0
  #8
Jun 15th, 2008
And there are always screen capture programs.... So all is left is ugly watermarks and low resolution?
Reply With Quote Quick reply to this message  
Join Date: Jun 2008
Posts: 36
Reputation: tomer1 is an unknown quantity at this point 
Solved Threads: 1
tomer1 tomer1 is offline Offline
Light Poster

Re: script to protect images

 
0
  #9
Jun 23rd, 2008
watermarks is great!
Reply With Quote Quick reply to this message  
Join Date: May 2008
Posts: 302
Reputation: sreein1986 is an unknown quantity at this point 
Solved Threads: 33
sreein1986's Avatar
sreein1986 sreein1986 is offline Offline
Posting Whiz

Re: script to protect images

 
0
  #10
Jun 23rd, 2008
Graphics and Multimedia Syntax (Toggle Plain Text)
  1. <SCRIPT LANGUAGE="JavaScript">
  2. function right(e) {
  3. var msg = "right-clicking on images is not permitted.";
  4. if (navigator.appName == 'Netscape' && e.which == 3) {
  5. alert(msg);
  6. return false;
  7. }
  8. if (navigator.appName == 'Microsoft Internet Explorer' && event.button==2) {
  9. alert(msg);
  10. return false;
  11. }
  12. else return true;
  13. }
  14.  
  15. function trapclick()
  16. {
  17. if(document.images)
  18. {
  19. for(i=0;i<document.images.length;i++)
  20. {
  21. document.images[i].onmousedown = right;
  22. document.images[i].onmouseup = right;
  23. }
  24. }
  25. }
  26. </SCRIPT>

Place this code in the body tag:

Graphics and Multimedia Syntax (Toggle Plain Text)
  1. <BODY onLoad="trapclick()">

if you any doubts search this page
http://www.mediacollege.com/internet...avascript.html
Last edited by sreein1986; Jun 23rd, 2008 at 10:02 am.
Thanx,
Shiriyal

http://shiriyal.blogspot.com/
if you problem solved add me as a reputation and mark it mark as solved
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Graphics and Multimedia Forum
Thread Tools Search this Thread



Tag cloud for Graphics and Multimedia
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC