Quote:
Originally Posted by MacroPhotoPro
I appreciate this, thank you ... where can I place the following verbiage:
"This image is protected by legal copyright and is the property of its owner." ?
|
Try this
Code:
<script>
document.oncontextmenu = function(e){
var target = (typeof e !="undefined")? e.target: event.srcElement
if (target.tagName == "IMG" || (target.tagName == 'A' && target.firstChild.tagName == 'IMG'))
alert('This image is protected by legal copyright and is the property of its owner');
}
</script>
The code above might stop a normal user from stealing your images but you can always steal an image by inspect element in your browsers.