Banner

Sponsor

Login


Welcome Back!
Guest
Guest

Register

Lost your password?

78 users online



Disable Right Click

Disable Right Click

Currently viewing this thread: 1 (0 members and 1 guests)


CheerioGirl

CheerioGirl

Status: Offline!

Disable Right Click

Hi everyone,

I would like to know how to disable right clicking on a web page. Normally I strongly disagree with disabling any of a visitors basic functions (back button, etc), but I need to prevent people from stealing photos of my work. If I can do that, then when I ask a client if I can post it on the web, they will be much more willing to oblige.

Thanks for the help,
Cheerio Girl

___________________

Life is what you make of it, so stop blaming everyone else!

Motorspin

Motorspin

Neverside Newbie
Status: Offline!

Don't do that. It's very annoying to take away basic functions like that. Your picture can be stolen anyway. A simple click on page source or view source will do that for you. Plus, it doesn't always work in all browsers.The only way is to take it to the client personally and show it to him/her/them or watermark your image and make sure they know why.

___________________

Travis Farrell
http://motorspin.com/stuff/images/avasig/m_enterprisesig.gif

fredmv

fredmv

Status: Offline!

Why not just watermark the images? If you want more of my opinions on this, check my post here:

http://www.tutorialforums.com/showthread.php?s=&threadid=48333#post406655

Although, I will help you. This is the best cross-browser way to do it:

Code:


<body oncontextmenu="return false;">

Hope that helps you out.

___________________

http://home.comcast.net/~fredv4/tf/firefox.gif

reregistered

reregistered

Neverside Newbie
Status: Offline!

Another way to do it would be to put the pictures in flash.
But you can always press the print screen button, paste it into photoshop then crop the picture. There is always a way around it!

fredmv

fredmv

Status: Offline!

Yep... There always is.

___________________

http://home.comcast.net/~fredv4/tf/firefox.gif

koko775

koko775

Neverside Newbie
Status: Offline!

unless you store it in an avi, in which case screenshots will not work and the person would have to decode it and take the pictures out, you're pretty much exposing the images. You should make a light watermark over the image, either over the whole thing but with significant opacity (transparency). That way even cropping is no good.

CheerioGirl

CheerioGirl

Status: Offline!

Thanks everyone, I'm inclined to agree with you all. It goes against everything in me to disable any basic functions. However, there's another thing I thought of in reading all of your posts...I'm only putting up low quality GIFs of my work. They may be able to use it on their own websites, but they won't be able to print them very well. Plus, the watermark would put an end to all of it. That's my next step, to watermark all of my images.

Thanks for setting me straight! Sometimes I get so close to my own projects I can't see straight anymore!

Thanks!
Cheerio Girl

___________________

Life is what you make of it, so stop blaming everyone else!

Quick Jump:

Main Navigation


Site & Graphic Design by Aeon Tan
Developed by Jeremie Pelletier & Scott Roach


NeverAPI generated this page in 0.0079 seconds.