Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Disable CTRL+C in images

Status
Not open for further replies.

AnaIsabelFlor77

Programmer
Mar 17, 2007
12
0
0
PT
Hello,

I want to disable rigth click and ctrl+c in the images of my website.

To avoid rigth click I have the solution, but is there any solution to avoid ctrl+c too?

Thanks.

 
JS is clever and you can disguise a few things, but you can't stop people from copying your pictures if you publish them on a website

A quick check on the FAQ page shows these two to answer your question
faq216-355
faq216-5090

___________________________________________________________
If you want the best response to a question, please check out FAQ222-2244 first.
'If we're supposed to work in Hex, why have we only got A fingers?'
Drive a Steam Roller
Steam Engine Prints
 
I'd take John's advice and give up now. As soon as anyone disables JavaScript, all your "protection" fails. Besides, a quick screen grab will give anyone the image anyway.

If you don't want people to copy your images, don't put them on the web.

The best thing to do if you do want to retain a modicum of "control" is to watermark them (physically or digitally).

Hope this helps,
Dan

Coedit Limited - Delivering standards compliant, accessible web solutions

[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top