Results 1 to 8 of 8

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

  1. #1
    sporkman is offline Corporal
    Join Date
    Jan 2009
    Location
    Pennsylvania
    Posts
    19

    Default 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.

  2. #2
    D'son's Avatar
    D'son is offline Major General
    Join Date
    Apr 2008
    Location
    Illinois
    Posts
    2,580

    Default 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.

  3. #3
    Karen Mac's Avatar
    Karen Mac is offline General
    Join Date
    Apr 2006
    Location
    X marks the spot
    Posts
    8,353

    Default 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
    07031847328 / United Kingdom

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

    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)



  4. #4
    Tom Finley's Avatar
    Tom Finley is offline Brigadier General
    Join Date
    Mar 2008
    Location
    Kauai, HI
    Posts
    1,300

    Default 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

  5. #5
    txgweedo's Avatar
    txgweedo is offline Private First Class
    Join Date
    Jul 2008
    Location
    Conroe, TX
    Posts
    5

    Default 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

  6. #6
    zuriatman's Avatar
    zuriatman is offline Moderator
    Join Date
    Sep 2006
    Location
    Malaysia
    Posts
    3,039

    Smile Re: How do you prevent people "right clicking" 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.

  7. #7
    cbrandstater's Avatar
    cbrandstater is offline Sergeant
    Join Date
    Aug 2008
    Location
    So. Cal.
    Posts
    28

    Default Re: How do you prevent people "right clicking" 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

  8. #8
    Karen Mac's Avatar
    Karen Mac is offline General
    Join Date
    Apr 2006
    Location
    X marks the spot
    Posts
    8,353

    Default Re: How do you prevent people "right clicking" 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
    07031847328 / United Kingdom

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

    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)



Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49