the_oliver Posted February 10, 2007 Share Posted February 10, 2007 Hello i want to do that thing where it is not possible to copy an image from my web page by right clicking it, or draging it off. Anyone know how this is done? Thanks! Quote Link to comment Share on other sites More sharing options...
AndyB Posted February 10, 2007 Share Posted February 10, 2007 Assuming that you don't actually expect to 'protect' your image from being copied (since it'll be in the visitor's temp. internet files folder on their computerwhen they visit your page), putting the image as a background in an absolutely sized div and then place a transparent gif the same size in that div might slow down the borrowers. Quote Link to comment Share on other sites More sharing options...
the_oliver Posted February 10, 2007 Author Share Posted February 10, 2007 I realise that its never possible to do compleatly, i just want to make it harder! I know there a way of doing just though two things to any image, with out having to place anything over the top etc. Thanks! Quote Link to comment Share on other sites More sharing options...
AndyB Posted February 10, 2007 Share Posted February 10, 2007 I know there a way of doing just though two things to any image, with out having to place anything over the top etc. OK, then just define a div size and use your image as the background. Quote Link to comment Share on other sites More sharing options...
ToonMariner Posted February 10, 2007 Share Posted February 10, 2007 bottom line is you can't. You can put javascript in to stop the right click working but then you should use javascrip to write the image tag to teh document so that it deosn't appear if they have javascript off. as soon the path is visible though they can just go and put that in th eaddress bar and they have it. There are methods of hiding the path but its a long time since I have used them and can't remember where the examples are. Quote Link to comment Share on other sites More sharing options...
fenway Posted February 10, 2007 Share Posted February 10, 2007 Yeah, but background images / transparents div on top are the easiest way to go. Quote Link to comment Share on other sites More sharing options...
AndyB Posted February 10, 2007 Share Posted February 10, 2007 http://continue.to/hope Quote Link to comment Share on other sites More sharing options...
trecool999 Posted February 10, 2007 Share Posted February 10, 2007 Put a transparent layer on top of the images, that way they can't select by hand either. Well, not as easily. Quote Link to comment Share on other sites More sharing options...
ToonMariner Posted February 10, 2007 Share Posted February 10, 2007 they will always be able to find it somewhere - if someone really wanted your image they will get it. If this is a case where you are selling an image then you should put a water mark on it so they only get the actual image on payment. Quote Link to comment Share on other sites More sharing options...
trecool999 Posted February 10, 2007 Share Posted February 10, 2007 All they have to do is take a look at the html. Quote Link to comment Share on other sites More sharing options...
ToonMariner Posted February 11, 2007 Share Posted February 11, 2007 not if it aint in the html..... [sighs] Quote Link to comment Share on other sites More sharing options...
worldworld Posted February 11, 2007 Share Posted February 11, 2007 I think you can have images in flash so no problems of saving the images.. Quote Link to comment Share on other sites More sharing options...
AndyB Posted February 11, 2007 Share Posted February 11, 2007 I think you can have images in flash so no problems of saving the images.. Dreaming in technicolor. If I can see it, I can copy it. Quote Link to comment Share on other sites More sharing options...
Daniel0 Posted February 12, 2007 Share Posted February 12, 2007 All content on websites is downloaded to the user's computer, so you can do all sorts of "protection", but it won't help at all. Quote Link to comment Share on other sites More sharing options...
fenway Posted February 13, 2007 Share Posted February 13, 2007 The only way I've seen this actually done --- and it was only a proof-of-principle, never meant for the "real world" -- was to pixelate the image into a grid of 1x1 table cells, with background colors. I guess you could do it with DIVs as well/ Quote Link to comment Share on other sites More sharing options...
ToonMariner Posted February 14, 2007 Share Posted February 14, 2007 there is a method of obfusicating the path to the image OR storing the image in a blob field in a database and using s-s-s to output the image while disableing caching of the page. That would solve all attempts bar the old screen grab which is so easy to do it makes doing anything at all to stop them pretty much pointless... Quote Link to comment Share on other sites More sharing options...
Wuhtzu Posted February 14, 2007 Share Posted February 14, 2007 But not matter what you decide to do visitors can always use "Print screen" to take a screen dumb of your page and get the image that way... A solution to his, though I have never tryied it and don't know how to create it, would be to use flash to view it and the flash to detect if "Prt Scr" and when pressed it blackens the image... Just like when you try to take a screenshot of a dvd-movie from your dvd-player using "Prt Scr"... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.