htmlcssimagebrowser

Make Image not copyable


I am developing an E-Commerce website on ASP.Net and I have a lot of product images in that.Now what i want is i don't want people to right click on my images and copy or save it on their system.I know if the user is determined he can make a copy of my images like taking a screenshot or other things like it,but i don't care it.For me i just not want people to come and take my pictures as easy as it is now. Is there any good way to do this?


Solution

  • You can prevent users from right clicking your images. But the user will still be able to make a copy if they really want it. The best solution would be a watermark I think.

    You can prevent users from right clicking images by adding onContextMenu="return false;" to your image code.

    See http://www.pagetutor.com/no_right_click/index.html for more details.