Menu

Java Script

Help
Zack PElka
2001-09-03
2001-09-04
  • Zack PElka

    Zack PElka - 2001-09-03

    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?

     
    • marino

      marino - 2001-09-04

      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.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.