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

how do I stop web page graphics from being ripped off 2

Status
Not open for further replies.

oddbod

Technical User
Mar 6, 2001
3
GB
Hi does anyone know how to stop your hard earned work from being saved by anyone browsing your site ? Yes I have come across the "on right mouse click" command which is ok but I want to go further than this and stop anyone from viewing source code or saving valuable jpgs from any browser or system ( if possible )which I want to share on the web but do not want people to save them and possibly make money from selling them to releavant bodies. Instead I want people to contact me if they want a copy of the said jpg. I have seen on the web certain pop up windows that have no browser menu and right click but I want to know how to reproduce this unless someone knows how to do it better.

I am fairly new to web page design but have been using dreamweaver and like its userability and just do not have the time to learn html inside out. Any takers on this question would be very much appreciated as I am sure this would be of interest to many people not just myself.

Thankyou in advance
oddbod
 
My dear friend do you really think that by using the person by the right click any thing happens

let me tell you this that the if a person wants he can get any image from the page
all he has to do is view source take the path of that image and put that on the browser window and

wow the image opens up

i have used this a thousand times

an easier method

print screen

sad but there is nothing u can do but if u do be sure to let me know
there is one option though

put then into a java applet

regards Unicorn11
abhishek@tripmedia.com

[red]Luck is not chance, it's toil; fortune's expensive
smile is earned.[red]
 
As unicorn11 says, it can't be done ... it's how browsers work! The fact that someone can see your page means that the entire contents of that page (images, source, etc.) are present in the browser cache of the users computer. It doesn't matter whether or not the browser window has no menus, scrollbars, or whatever .. it's still ALL in the local cache.

I would be interested to see what is so valuable about your source/images that would make you want to stop people from seeing/saving them!

Could you post the URL for your site?

Greg.
 
Sorry Oddbod, but you can't stop people from stealing your images. Even if you encode them at the http stream level on the server, they still end up in the browser's cache. You can't even block view-source, since the .html files also end up in the cache.

You have to consider that anything you send to the users is "stealable". That is why some people are using .asp and .php files -- they can hide a fair amount of their site on the server. The client-side javascript still gets sent (for handling things like pop-up menus, etc), but that's no big deal.

Chip H.
 
Hey I believe it can be done you just have to know how to use javascript or vbscript and add a sub or function to your html code that will print a message telling people not to steal your pictures and thus preventing them. But Here is my theory after you have the sub or function made in the part of the code that says <img src&quot;image location&quot;>. In between the &quot; and > put onclick=&quot;sub or fuction name&quot; and remember if you use javascript to put () at the end and even this might not work because right now I can't remember if there is a special command for the right click or if this one works for both so try it out if it dosen't work just reply to Majere and I'll see what I've figured out Okay??? Okay bye bye
 
Of course, you could use Photoshop and get a watermark account and then watermark all of your images. Depending on the durability at creation, the watermark can carry over, even from printing and rescanning.

Just my 2¢

-KidE
 
Not that I have any &quot;important&quot; images on my site, but what is and how does one &quot;turn on&quot; the &quot;on right mouse click?&quot;

Thanks,

Doug
 
Doug ... have a browse through the first 2 or 3 pages of the Javascript forum ... should answer you question. Also look at the Javascript GAQ section.

Greg.
 
By default...when you are in a browser and you click the right mouse button...a menu will pop up. Though I have never had a reason to do this... as a webmaster of a site using javascript you can disable this feature.... which prevents others from using the &quot;save picture as&quot; command or &quot;set as wallpaper&quot; and several other common commands found on the right click menu.

There are ways to get around this so it is only useful against a amateur web user who does not know you can simply go to temporary internet files on your Hard disk and get the information.

Ya' Gotta Love It!:)X-)
 
Here is a script I found at that only disables right-click when the mouse is over an image. It is a little more user friendly and allows the normal navigation options to continue while over text and any other web feature other than images.

Simply add the following code to the END of your page, right above the </body> tag:




<script language=&quot;JavaScript1.2&quot;>

var clickmessage=&quot;Right click disabled on images!&quot;

function disableclick(e) {
if (document.all) {
if (event.button==2||event.button==3) {
if (event.srcElement.tagName==&quot;IMG&quot;){
alert(clickmessage);
return false;
}
}
}
else if (document.layers) {
if (e.which == 3) {
alert(clickmessage);
return false;
}
}
else if (document.getElementById){
if (e.which==3&&e.target.tagName==&quot;IMG&quot;){
alert(clickmessage)
return false
}
}
}

function associateimages(){
for(i=0;i<document.images.length;i++)
document.images.onmousedown=disableclick;
}

if (document.all||document.getElementById)
document.onmousedown=disableclick
else if (document.layers)
associateimages()
</script> Ya' Gotta Love It!:)X-)
 
Any &quot;anti theft&quot; Javascript is not foolproof. All one has to do is off scripting in their browser's preferences.

I've learned a lot by using &quot;view source&quot;, so I'm fine if someone wants to snoop at my code to see how I've done something.

I'm NOT okay with someone stealing graphics. There is a company that makes a program that tracks and records any image downloads from your site. Unfortunately, I can't remember a name or URL. (Try doing a search.) I do remember that they were pretty pricey. If I find the info, I'll post it here.
 
Nothing in life is impossible gang...

Here are some links, some of it is elementary stuff but where there's a spark theres bound to be fire somewhere down the line. The theft of intellectual properties aint a joke and corporate America will invest heavily in anything that protects it assets. The artscope company is pricy beyound belief, but thats because they are on the for front of image protection technology, and they are charging what they like. Once this tech becomes more prolific and easier to use it'll get cheaper, and the hackers will have something new to play with ;-)




Kampher
 
Hi, the best way to stop having you're images &quot;borrowed&quot; is to put an watermark in them. Using Photoshop you can embed a watermark in the image so if someone does &quot;borrow&quot; it, you can still get the credit for it. And once embedded, the watermark image cannot be taken off. Even if the image is modified in its own...
Hope that helps...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top