forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Permissions & Access Rights => Topic started by: apricots on February 13, 2005, 10:28:25 am

Title: right clicked disable
Post by: apricots on February 13, 2005, 10:28:25 am
is there a way i could disable right clicked to prevent visitors to save the image?
Title: Re: right clicked disable
Post by: Tranz on February 13, 2005, 10:31:54 am
Yes. Please do a search.
Title: Re: right clicked disable
Post by: apricots on February 15, 2005, 12:33:49 pm
errr.couldnt find it...

i did try..i add javascript to the template.html...when i right-clicked the message was shown but i could still save the image....
Title: Re: right clicked disable
Post by: Tranz on February 15, 2005, 06:49:15 pm
A link to your gallery would help.

Right-click isn't 100% effective and 1000% annoying for people who use right-click for many other things than saving images.
Title: Re: right clicked disable
Post by: apricots on February 16, 2005, 09:07:27 am
the javascript only disable right clicked on images...

here's the link..
http://www.frankiemuniz.allstarz.org/cpg132/
Title: Re: right clicked disable
Post by: Tranz on February 16, 2005, 09:19:40 am
I don't understand what the problem is... right-clicking on the image disabled the shortcut menu from appearing. Do you want something more? Of course there are other ways to save images that bypass right-clicking but it seems the javascript served its purpose. It's an improvement over such scripts since people can still use their right-click.
Title: Re: right clicked disable
Post by: apricots on February 16, 2005, 01:21:26 pm
does my javascript works?
Title: Re: right clicked disable
Post by: Joachim Müller on February 16, 2005, 01:53:20 pm
as much as it can work (by design), it does. Why do you ask, you can test this for yourself?
Flagging as "solved" then.

Joachim
Title: Re: right clicked disable
Post by: apricots on February 17, 2005, 12:54:17 pm
thanks