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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Imp

Status
Not open for further replies.

rohithere

Programmer
Oct 27, 2003
51
IN
Hi,
How can I protect my photo on web so that nobody can copy it?
Is there a way???


Thanx in advance.
 
You can make it difficult for someone to copy your photos but anyone with enough know-how or determination can easily copy them. One method is to disable or modify what happens when someone does a right mouse click using javascript. This is how people usually save pictures from the web. I think you can also overlay the photo with a transparent gif or put a transparent gif in a div where your photo is the background. That way when they right click and save the image, they'll get the transparent gif. You could also chop your photo into tiny pieces and make these pieces display as one by putting them in a table. This would require someone to save each piece and put the image back together. There's also many more ways to protect your photos but I'm not sure what they all are. Here's a good link to protecting your content:

Kevin
A+, Network+, MCP
 
"Is there a way???"

Short answer: No.

Attempting to protect images runs into the same kind of problems as trying to protect your HTML source (see ). Any picture you display on a web site (however you do it) can be easily copied (on a PC) by pressing the [Print Screen] key and then cutting the image from the resulting screenshot.

One thing you can do is suppress the image copying toolbar that IE6 displays over images (see ), not because it'll protect you but because it's really irritating! just add this to the <head> of your page:
[tt]
<META HTTP-EQUIV=&quot;imagetoolbar&quot; CONTENT=&quot;no&quot;>
[/tt]

Do you have any special reason to want to protect your pictures, btw?

-- Chris Hunt
 
depending on what you're using your photos for, you could put some kind of watermark over the photo.

then if someone tries to save the photo, they'll get a big mark over the top which is almost impossible to remove.

ss...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top