How do you prevent people "right clicking" to download pics?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • sporkman
    Sergeant

    • Jan 2009
    • 21

    How do you prevent people "right clicking" to download pics?

    I am considering selling posters on my site. Primarily mail order but possibly even making them downloadable as an option. My question is a two parter...

    1) Besides using a low res pic, how can I simply lock out the picture so someone can't just save it to their computer with a right click?

    2) Secondly, how could I setup a downloadable file that is only accessible once they've made a payment via Paypal? I could always email them the file after they've paid, but if the file size is too big for that, they'd need some way to get it.
  • D'son
    Major General

    • Apr 2008
    • 2577

    #2
    Re: How do you prevent people "right clicking" to download pics?

    The easiest way to keep them from taking them via right click is to put a transperent shape over the image. Size it to image, remove the boarder if you wish. then when they try to sve the image all they actually get is a blank box. This will not stop them from print screening or getting it from the code.
    Reguards
    Ed
    www.dsondesigns.com
    www.marseillesyouthsports.com
    www.300hitter.com
    www.bigjk.net
    How to add JAlbum to your site

    Comment

    • Karen Mac
      General

      • Apr 2006
      • 8332

      #3
      Re: How do you prevent people "right clicking" to download pics?

      If they really want the image disabling right click or putting a transparent image over it wont stop them. It will only stop someone not internet savvy.. which these days.. doesnt even cover 12 year olds.

      Karen

      VodaHost

      Your Website People!
      1-302-283-3777 North America / International
      02036089024 / United Kingdom
      291916438 / Australia

      ------------------------

      Top 3 Best Sellers

      Web Hosting - Unlimited disk space & bandwidth.

      Reseller Hosting - Start your own web hosting business.

      Search Engine & Directory Submission - 300 directories + (Google,Yahoo,Bing)


      Comment

      • Tom Finley
        Brigadier General

        • Mar 2008
        • 1303

        #4
        Re: How do you prevent people "right clicking" to download pics?

        I'm curious about the poster download. What dimensions do you have in mind and how would the average person print it?
        CLAMcentral.com Children's Ministry resources
        CLAMcentral's Projects Blog
        CLAMbakeonline.com Family Fun

        Comment

        • txgweedo
          Private First Class

          • Jul 2008
          • 5

          #5
          Re: How do you prevent people "right clicking" to download pics?

          sporkman: On my web I use the following script inserted through the Page HTML on the 'Between Head Tag' tab (this prevents right clicks, but won't, of course, prevent print screening, etc.):

          META HTTP-EQUIV="Pragma" CONTENT="no-cache">
          <script language="Javascript1.2">
          message = "Right click has been disabled in this website.";
          function NoRig***lick() {
          if(((navigator.appName=="Microsoft Internet Explorer")&&(event.button > 1))
          ||((navigator.appName=="Netscape")&&(b.which > 1))){
          alert(message);
          return false;
          }
          }
          document.onmousedown = NoRig***lick;
          // -->
          </script>


          Thanks!

          txgweedo
          www.txgweedo.com
          ID# 26192

          Comment

          • zuriatman
            Moderator

            • Sep 2006
            • 3025

            #6
            Re: How do you prevent people &quot;right clicking&quot; to download pics?

            Hi Sporkman,

            This is how I do it.

            Others may not agree but I found it to be effective.
            www.siapamoyanganda.com/
            Malaysian Family Tree Website From the
            State of Johor.

            HAPPY ARE THOSE WHO DREAM DREAMS AND ARE READY TO PAY THE PRICE TO MAKE THEM COME TRUE.

            Comment

            • cbrandstater
              Sergeant

              • Aug 2008
              • 29

              #7
              Re: How do you prevent people &quot;right clicking&quot; to download pics?

              This works too:

              1) Open an HTML box

              2) Copy this text:

              <script language=JavaScript>
              <!--
              //Disable right mouse click Script
              //By Maximus (maximus@nsimail.com) w/ mods by DynamicDrive
              //For full source code, visit http://www.dynamicdrive.com
              var message="Function Disabled!";
              ///////////////////////////////////
              function clickIE4(){
              if (event.button==2){
              alert(message);
              return false;
              }
              }
              function clickNS4(e){
              if (document.layers||document.getElementById&&!docume nt.all){
              if (e.which==2||e.which==3){
              alert(message);
              return false;
              }
              }
              }
              if (document.layers){
              document.captureEvents(Event.MOUSEDOWN);
              document.onmousedown=clickNS4;
              }
              else if (document.all&&!document.getElementById){
              document.onmousedown=clickIE4;
              }
              document.oncontextmenu=new Function("alert(message);return false")
              // -->
              </script>

              3) Right click in the HTML box and left click on "properties"

              4) left click in the open "custom properties" box, right click then left click on "paste."

              Exact steps have been helpful to me when people reply. Hope this helps, Cherry

              Comment

              • Karen Mac
                General

                • Apr 2006
                • 8332

                #8
                Re: How do you prevent people &quot;right clicking&quot; to download pics?

                Non of them work.. i can still take every picture on your website by viewing the source code.

                Karen

                VodaHost

                Your Website People!
                1-302-283-3777 North America / International
                02036089024 / United Kingdom
                291916438 / Australia

                ------------------------

                Top 3 Best Sellers

                Web Hosting - Unlimited disk space & bandwidth.

                Reseller Hosting - Start your own web hosting business.

                Search Engine & Directory Submission - 300 directories + (Google,Yahoo,Bing)


                Comment

                Working...
                X