943,699 Members | Top Members by Rank

Ad:
You are currently viewing page 1 of this multi-page discussion thread
Jun 6th, 2008
0

script to protect images

Expand Post »
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.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
tecktalk is offline Offline
20 posts
since May 2008
Jun 7th, 2008
0

Re: script to protect images

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.
Reputation Points: 167
Solved Threads: 239
Nearly a Posting Virtuoso
rajarajan07 is offline Offline
1,445 posts
since May 2008
Jun 8th, 2008
0

Re: script to protect images

what is watermark?? and how to use it??
Reputation Points: 10
Solved Threads: 0
Newbie Poster
amrad is offline Offline
1 posts
since Jun 2008
Jun 8th, 2008
0

Re: script to protect images

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.
Reputation Points: 35
Solved Threads: 21
Junior Poster
HI2Japan is offline Offline
195 posts
since Mar 2006
Jun 9th, 2008
0

Re: script to protect images

WaterMark is nothing but Print your name or brand name in center of the image by reducing the opacity to low level.
Reputation Points: 167
Solved Threads: 239
Nearly a Posting Virtuoso
rajarajan07 is offline Offline
1,445 posts
since May 2008
Jun 10th, 2008
1

Re: script to protect images

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....
Reputation Points: 18
Solved Threads: 1
Junior Poster in Training
reen.blom is offline Offline
79 posts
since Jul 2007
Jun 14th, 2008
0

Re: script to protect images

If they can see the image, the file is already on their computer. All they have to do is retrieve it.
Reputation Points: 730
Solved Threads: 181
Nearly a Senior Poster
MidiMagic is offline Offline
3,314 posts
since Jan 2007
Jun 15th, 2008
0

Re: script to protect images

And there are always screen capture programs.... So all is left is ugly watermarks and low resolution?
Reputation Points: 18
Solved Threads: 1
Junior Poster in Training
reen.blom is offline Offline
79 posts
since Jul 2007
Jun 23rd, 2008
0

Re: script to protect images

watermarks is great!
Reputation Points: 10
Solved Threads: 1
Light Poster
tomer1 is offline Offline
42 posts
since Jun 2008
Jun 23rd, 2008
0

Re: script to protect images

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.
Reputation Points: 12
Solved Threads: 34
Posting Whiz
sreein1986 is offline Offline
306 posts
since May 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Graphics and Multimedia Forum Timeline: Flash
Next Thread in Graphics and Multimedia Forum Timeline: Photoshop file saving problem





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC