I have received a script to prevent people from right click printing of photos. How and where can I install it to coppermine? Also, will you check to make sure it is really what it says it is (it's alien to me ;D):
<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>
I'm no friend of disabling the right mouse button. It just annoys people and you easily can go around that protection by simply disabling script support in your browser. There are better ways to trick newbs
If you relly want to have that, then place it in themes/yourtheme/template.html somewhere within the document head section
What do you reccomend, basically I have kids copying my pictures to facebook and a few moms like to print them for themselves, I sell my pictures and dont want this ability. I am not thinking my problems are really spend the time to get around the right click disable but if you have a better idea I am all ears
Essentially, if you can see an image online, it's printable - plain and simple. You "may" stop total novices, but I personally can get a hold of any image if it's in my browser. Just the nature of the Internet.
Watermarking is an option or try to reduce the resolution so that even if they print it, it won't be pretty. They would still be able to save it somewhere, though. Everyone thinks that the "prevent right-click" is the way to go. Tis not !
I have a gigantic © on every picture but this has not prevented the kids from adding them to their facebooks and blogs.
in my opinion better than disablingh the RMB http://forum.coppermine-gallery.net/index.php?topic=33782.0