Jump to content
dallara

Disabling Right Click

Recommended Posts

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

Share this post


Link to post
Share on other sites

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".

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

they are a pain and any one with a bit of sense knows you can just screen shot it if you really want it! :)

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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..

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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!

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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. ;)

Share this post


Link to post
Share on other sites

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 by carbonize

Share this post


Link to post
Share on other sites

Well, I meant paint but indeed there are better tools for such things. :)

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...