I am trying to insert Javascript into the index.phtml to disable the right click, but I can't seem to get it to work right? Could anyone suggest a method to do this, or possibly work this in as a configurable option in the config.inc?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You could put it in the header but why bother?
Worried about people stealing your pictures?
Javascript won't protect you. I haven't seen anything in javascript that protects you from all browsers and all OS.
For example, I have a Mac, it has a single button mouse, disabling right click will do nothing to me.
How about disabling "original image" in config.inc You can just show lower res pictures. You can also modify the convert function to add some text or logo to your thumbnails although I haven't tried that, I know it's possible.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am trying to insert Javascript into the index.phtml to disable the right click, but I can't seem to get it to work right? Could anyone suggest a method to do this, or possibly work this in as a configurable option in the config.inc?
You could put it in the header but why bother?
Worried about people stealing your pictures?
Javascript won't protect you. I haven't seen anything in javascript that protects you from all browsers and all OS.
For example, I have a Mac, it has a single button mouse, disabling right click will do nothing to me.
How about disabling "original image" in config.inc You can just show lower res pictures. You can also modify the convert function to add some text or logo to your thumbnails although I haven't tried that, I know it's possible.