Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: right clicked disable  (Read 6646 times)

0 Members and 1 Guest are viewing this topic.

apricots

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
right clicked disable
« on: February 13, 2005, 10:28:25 am »

is there a way i could disable right clicked to prevent visitors to save the image?
« Last Edit: February 16, 2005, 01:53:37 pm by GauGau »
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: right clicked disable
« Reply #1 on: February 13, 2005, 10:31:54 am »

Yes. Please do a search.
Logged

apricots

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: right clicked disable
« Reply #2 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....
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: right clicked disable
« Reply #3 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.
Logged

apricots

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: right clicked disable
« Reply #4 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/
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: right clicked disable
« Reply #5 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.
Logged

apricots

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: right clicked disable
« Reply #6 on: February 16, 2005, 01:21:26 pm »

does my javascript works?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: right clicked disable
« Reply #7 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
Logged

apricots

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: right clicked disable
« Reply #8 on: February 17, 2005, 12:54:17 pm »

thanks
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 20 queries.