dallara Posted November 2, 2006 Share Posted November 2, 2006 Using the javascript to disable right click to protect photos........ok to use or should this approach be avoided. I know there are alot of fairly simple ways around it and maybe if the photo is that important then it shouldn't be put out for all the world to view.......but I am just wondering if using it (javascript to disable right click) as a way to discourage unauthorized use is good or will I just make viewers mad? Any thoughts, or suggestions would be appreciated. Thanks Quote Link to comment Share on other sites More sharing options...
wvcrafted Posted November 2, 2006 Share Posted November 2, 2006 It works on some, but many ways around it. I thought about doing that, but changed my mind. I have the photo names encrypted and all them watermarked. Watermarking them usually stops people from taking them, but can also distract from the picture. I guess it depends on what the pictures are for. As far as making them mad, the only ones I it would probably make mad are the ones who want to take them and don't know how to get around the "No Right Click". Quote Link to comment Share on other sites More sharing options...
TCH-Bruce Posted November 2, 2006 Share Posted November 2, 2006 Don't forget there are many people that run their browsers with java and javascript disabled so it's not going to make a difference. Also, once viewed in a browser the image is on the users machine in their cache. If the picture is too important and you don't want people taking it don't put it on the web. Quote Link to comment Share on other sites More sharing options...
Aella Posted November 2, 2006 Share Posted November 2, 2006 Disabling right mouse button annoys the snot out of me, personally. I use firefox and like to open tabs in new windows, but if the right mouse button is disabled I can't. I also like to right click to view source or book mark the page. There are lots of reasons to right click that don't involve pictures at all, and as you said, it's easy enough to get around it. Sure I don't necessarly need to right click to book mark a page, but if you're going to make it difficult for me, I'm going to leave Just my two cents. Quote Link to comment Share on other sites More sharing options...
TCH-Bruce Posted November 2, 2006 Share Posted November 2, 2006 I use firefox and like to open tabs in new windows, but if the right mouse button is disabled I can't. You can change that behavior in the Options settings in Firefox so they always open in new windows instead of tabs. Quote Link to comment Share on other sites More sharing options...
Aella Posted November 2, 2006 Share Posted November 2, 2006 You can change that behavior in the Options settings in Firefox so they always open in new windows instead of tabs. True, but I like my FF settings. A page would have to be really incredibly awesome for me to change them, or my web surfing habbits. Take my opinion with a grain of salt, I may not be the intented auidence and I may be in the minority. But I never liked those scripts that disabled the right mouse button. Quote Link to comment Share on other sites More sharing options...
TCH-Bruce Posted November 2, 2006 Share Posted November 2, 2006 Take my opinion with a grain of salt, I may not be the intented auidence and I may be in the minority. But I never liked those scripts that disabled the right mouse button. You are not alone. I don't either. Quote Link to comment Share on other sites More sharing options...
makaveli Posted November 2, 2006 Share Posted November 2, 2006 they are a pain and any one with a bit of sense knows you can just screen shot it if you really want it! Quote Link to comment Share on other sites More sharing options...
Deverill Posted November 2, 2006 Share Posted November 2, 2006 As was said, it won't stop any but the most basic users and it also "annoys the snot" out of me as well. You can't rely on it for security so why do it at all? I'd think a nice disclaimer at the top of the page "Remember, these pics are copyrighted by me so please don't steal them." would be more effective. Quote Link to comment Share on other sites More sharing options...
TCH-Don Posted November 2, 2006 Share Posted November 2, 2006 Same here, right click is used for much more than taking an image and won't stop very many visitors. A faint watermark is a good way to identify the image as yours.. Quote Link to comment Share on other sites More sharing options...
carbonize Posted November 2, 2006 Share Posted November 2, 2006 It is possible to make it near impossible to save a picture from your website without taking a screen shot but it's far from easy. First you have to use scripting to randomly generate a code for the image and feed that code to a script to send the image rather than using the images true name/location. The script will also send the no cache header. You then either make the image the background of a table cell and fill the cell with a transparent image or use a div and CSS to place a transparent image over it. This will prevent just right clicking and selecting save image as. All of the above will make it hard to grab the image without affecting the functionality of your site nor their browser. Quote Link to comment Share on other sites More sharing options...
silica Posted November 3, 2006 Share Posted November 3, 2006 I frequent many of the photography forums, and this issue comes up over and over. There's no solution. As long as an image is displayed on my screen, I can copy it, either directly, via my cache, or as a screen shot. The general consensus on the photog forums is to use one or more of the following: 1. a watermark 2. low resolution images 3. as small a size as possible The intent is to make it as inconvenient as possible for someone to use an image for their own purposes. If the image is relatively small and of low resolution, they will not be able to print it out with any quality. Also removing a watermark with Photoshop or equivalent, while not impossible, is usually time consuming. Remember in school when someone misbehaved, and the teacher could not find out who? The entire class got punished. Not much changes! Quote Link to comment Share on other sites More sharing options...
carbonize Posted November 3, 2006 Share Posted November 3, 2006 Using my method a screenshot is the only way they could get the image. I mean they would still have the image but few would go to that length unless they really wanted the image. So possibly my idea plus a watermark. A watermark doesn't have to be to obtrusive. It could just be your name over the image but instead of using a colour you just change the hue of the pixel where the text is or use a very transparent white image. Quote Link to comment Share on other sites More sharing options...
Deverill Posted November 3, 2006 Share Posted November 3, 2006 But Carbonize, that's a lot of work when it's as simple as: Print Screen Run -> Notepad Ctrl-V File -> SaveAs for them to get around it. It sounds like you're punishing yourself. Quote Link to comment Share on other sites More sharing options...
carbonize Posted November 3, 2006 Share Posted November 3, 2006 (edited) Run notepad? You could just run Irfanview, press C, make browser active window, press Ctrl + F11. You then have to crop the image to the right size as well. As I have said in a certain other forum, if you can see it you can copy it. What I do hate, apart from sites that try to disable right clicks and sites that bypass pop up blockers, are sites that use images for text. Edited November 3, 2006 by carbonize Quote Link to comment Share on other sites More sharing options...
Deverill Posted November 3, 2006 Share Posted November 3, 2006 Well, I meant paint but indeed there are better tools for such things. Quote Link to comment Share on other sites More sharing options...
TCH-JimE Posted November 6, 2006 Share Posted November 6, 2006 Hello, Its all too easy to sidestep this one. Your best hope is to watermark each one of your photos. A CMS solution like Gallery can do this for you on the fly JimE 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.