Forum Moderators: phranque

Message Too Old, No Replies

Disable right click on webpage-image

         

vipink

1:09 pm on Nov 7, 2006 (gmt 0)

10+ Year Member



How good is it to have right click disabled on IMAGES only to protect your images for easy theft.

How does this affect site usability and Search Engine friendliness.

henry0

1:39 pm on Nov 7, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Even if done for MS IE it usually does not work if a visitor uses FF.

rocknbil

7:50 pm on Nov 7, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



How good is it to have right click disabled on IMAGES only to protect your images for easy theft.

It's NOT good.

One, there are many other USEFUL functions that arise from a right-click, such as opening a link in a new window/new tab. This is extremely annoying on two levels: I can't access the content in my normal method, and the idea that someone is trying to control my actions is offensive.

Two, it doesn't protect your images at all, not one bit. Select View->Source, type the URL to the image, done deal, or just dig around the temporary files in the browser cache.

Bottom line is that "right-click disable" is more likely to annoy than protect.

Wlauzon

8:15 pm on Nov 7, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



There are many many reasons, but the main one to me is that it marks the site as having been done by a total amateur.

stapel

10:55 pm on Nov 7, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



rocknbil said: [T]here are many other USEFUL functions that arise from a right-click....

Agreed. Disabling right-click can annoy your more proficient users.


rocknbil said: ...it doesn't protect your images at all, not one bit.

Sadly, this isn't true. An astonishing percentage of the people scraping sites and snagging images are so dull-witted that they honestly can't figure out how to get around no-right-click scripts.

Eliz.

greenleaves

12:01 am on Nov 8, 2006 (gmt 0)

10+ Year Member



It is anoying, offensive and amateurish.

I have tried to oppen a link on an image in a new window and received the message "#$%^&* off and stop trying to steal my content". If I had not needed to visit that page I would have left the site imediately. I still wouldn't go back there because of it.

If someone wants to steal your content they can always do it. There ARE ways of preventing this, but that is NOT one of them.

vincevincevince

2:20 am on Nov 8, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I'd always recommend a transparent gif over the image in place of the disabled right click. That way you get your benefit without disabling other important browser functions.

You can achieve this by creating a 1x1 pixel transparent gif (1x1.gif) and using the following code (for a 130x140 px image called image.jpg):

<img src="1x1.gif" style="width:130px;height:140px;background-image:url('image.jpg');">

OR
<div style="background-image:url('image.jpg');"><img src="1x1.gif" style="width:130px;height:140px;"></div>

vipink

4:11 am on Nov 8, 2006 (gmt 0)

10+ Year Member



It's NOT good.

One, there are many other USEFUL functions that arise from a right-click, such as opening a link in a new window/new tab. This is extremely annoying on two levels: I can't access the content in my normal method, and the idea that someone is trying to control my actions is offensive.

Two, it doesn't protect your images at all, not one bit. Select View->Source, type the URL to the image, done deal, or just dig around the temporary files in the browser cache.

Bottom line is that "right-click disable" is more likely to annoy than protect.

I refer to disable Right Click on the IMAGES only. The right click on other part of the web page will work as usual.

rocknbil

8:52 pm on Nov 8, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



And how would you do that? The mouse event is an event on the document level, I suppose you could do something with most X and Y coordinates to figure out if it's over an image . . . but I could still turn off Javascript. I've never really pursued this because the basic fact remains, if I can view your page, I already have your images.

An astonishing percentage of the people scraping sites and snagging images are so dull-witted that they honestly can't figure out how to get around no-right-click scripts.

Got stats? :-D If they can figure out how to right-click, they can figure out how to view source and enter the URL in the address bar. Or better yet, figure out how to turn off Javascript.

topr8

9:22 pm on Nov 8, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



disabling right click does prevent a lot of image theft - but not all, there is no method of image protection short of partoling the web and taking legal action against thieves.

i would suggest watermarking your images with your website address, this does detract a little and can be removed with work but will generally prevent most theft.

JRyan

3:06 pm on Nov 9, 2006 (gmt 0)

10+ Year Member



Most of the sites I see with right click disabled fail to protect against the IE feature of being able to hover over the image and left click on the little disk icon.

Matt Probert

4:08 pm on Nov 9, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



How good is it to have right click disabled on IMAGES only to protect your images for easy theft.

It's not good. It's pathetic.

If you don't want people copying your images, don't publish them on the web.

Matt

dillonstars

4:37 pm on Nov 9, 2006 (gmt 0)

10+ Year Member



If you don't want people copying your images, don't publish them on the web.

That's a bit extreme. Copyright owners have the right to publish things and expect them not to be copied.

I do agree though that trying to stop people copying them is futile.

I would go down a different route though and try licensing your images with a creative commons license. At least this way people are more likely to credit you as the owner/source and you may even get some quality backlinks from them to boot.

stapel

6:29 pm on Nov 10, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



rocknbil said: If they can figure out how to right-click, they can figure out how to view source and enter the URL in the address bar. Or better yet, figure out how to turn off Javascript.

You'd think, wouldn't you...?

But that sure wasn't what they were saying in their irate e-mails....

Eliz.