I should probably mention it would be trivial for a knowledgeable visitor to bypass this by disabling JavaScript, however you'll likely thwart the majority of visitors. There are more complex methods of disabling the right click which may prevent a greater number visitors from stealing images, but in the end you'll find it is impossible to prevent every visitor from doing so. The most you can do is slow down the best and make sure the images that are taken are watermarked.
And also disableing right click even with Javascript turned on does it not make impossible. First when you view the image it's has already been download to your browser cache and second there are other methods to do that if someone really wants. The only secure things is not to post images at all...:-)
And of course never post images in high resolutions that are professional printable!
Yep, in the past I've gotten around the very thing I'm asking about, but I'd still love it for my own pics. I think the attribute on body tag is simplest and will go that route.
I'd still recommend adding this option for the administrator and also making them aware of the caveats stated above. Thanks!
if someone really wants an image, they'll get it. even taking away right clicking, adding watermarks, i can get just about any image if i really wanted. :P
Comments
`oncontextmenu="return false;"`
And of course never post images in high resolutions that are professional printable!
I'd still recommend adding this option for the administrator and also making them aware of the caveats stated above. Thanks!