dennic
07-08-2003, 04:40 AM
Just wondering if i put an image onto a webpage, can i make it so that users cannot right click on the image and save it?
|
Click to See Complete Forum and Search --> : making images not reproducable dennic 07-08-2003, 04:40 AM Just wondering if i put an image onto a webpage, can i make it so that users cannot right click on the image and save it? pyro 07-08-2003, 06:26 AM Yes, you can make it so uses can not right click, but you can't make it so they can't save your image. A few other ways they could get your image are by saving the whole page, getting the image out of their temp folder, taking a screen shot, etc... Your best bet would be to just put a watermark on the images. dennic 07-08-2003, 07:05 AM thanks buddy. but how do i put a watermark on an image and what is a watermark?? pyro 07-08-2003, 07:13 AM A watermark is a semitransparent layer that you overlay over your image. Take a look at http://graphicssoft.about.com/cs/paintshoppro/ht/pspwatermark.htm rdhs100 07-10-2003, 06:06 AM So, how do you make images un-savable? Rob www.fifty-nine.com dennic 07-10-2003, 06:57 AM how do you make it so that when you right click on the image that it does not come up with the save image as option?? pyro 07-10-2003, 07:28 AM rdhs100 - You don't and you can't... dennic - http://www.dynamicdrive.com/dynamicindex9/noright3.htm mabbutt 07-10-2003, 12:41 PM Insert this code into the <Body> section of your page: <script language=JavaScript> <!-- //Disable right click script 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> pyro 07-10-2003, 12:56 PM Ummm... Yeah. That's the code I linked to. :rolleyes: James L. 07-13-2003, 03:40 PM ...but all the user needs to do is to disable Javascript and that code is useless. Bottom line, as was stated above, is that you CAN'T prevent someone from downloading the pic if they want it. All you can do is alter the pic itself to make it less desireable, such as using Photoshop to add a watermark to it. mabbutt 07-14-2003, 10:18 AM I was responding to the follwoing question by Dennic: Just wondering if i put an image onto a webpage, can i make it so that users cannot right click on the image and save it? Quite clearly if a user knows how to disable Javascript then it is more than likely they will also know how to save your picture. But that wasn't the question was it ?? :confused: webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |