Announcement

Collapse
No announcement yet.

Locking images for copy protection

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Locking images for copy protection

    Hi

    Is there anyway I can stop people from right clicking on my images and saving them?

    Is it possible to have a pop-up display with a message (e.g. copyright)?

    Paul
    KJ Beckett
    Men's Clothing & Accessories
    Cufflinks, Underwear, Ties, Grooming Products
    Bath, England
    Fast delivery to UK, USA and worldwide.
    Men's Fashion Blog

    #2
    There's many ways - I've used this before (this will disable right clicks on links too though which personally annoys me because I like to open multiple browsing windows):

    <script language="javascript">
    /* Disable right click script on images*/
    var clickmessage="Images and Content are Copyright MyCompany 2005"

    function disableclick(e) {
    if (document.all) {
    if (event.button==2||event.button==3) {
    alert(clickmessage);
    return false;
    }
    }
    else if (document.layers) {
    if (e.which == 3) {
    alert(clickmessage);
    return false;
    }
    }
    }

    function associateimages(){
    for(i=0;i<document.images.length;i++)
    document.images[i].onmousedown=disableclick;
    }

    if (document.all)
    document.onmousedown=disableclick
    else if (document.getElementById)
    document.onmouseup=disableclick
    else if (document.layers)
    associateimages()
    </script>

    Comment


      #3
      There are many posts on doing just that here. Searching for "right click" or "right-click" will take you to them.

      You'll also find many posts showing how easy this is to defeat (Print Screen button, screen grab software, etc). My feeling is that you may annoy many more people than you expect.

      If there's a single person that you think is after your images (who'll get them anyway as per above), you may want to consider hidden watermarks (I've forgotten the technical name - sorry) so that you can prove they were your works that were nicked.
      Norman - www.drillpine.biz
      Edinburgh, U K / Bitez, Turkey

      Comment


        #4
        Originally posted by NormanRouxel
        you may want to consider hidden watermarks (I've forgotten the technical name - sorry) so that you can prove they were your works that were nicked.
        www.digimarc.com


        Bikster
        SellerDeck Designs and Responsive Themes

        Comment

        Working...
        X