+ Reply to Thread
Page 1 of 3 1 2 3 LastLast
Results 1 to 20 of 46

Thread: Copyright Images

  1. #1
    Join Date
    Oct 2008
    Location
    Penarth
    Posts
    11

    Smile Copyright Images

    Good evening,
    Is it possible to protect the images on my site?
    Thanks in advance
    Katie

  2. #2
    Join Date
    Aug 2007
    Location
    Northampton
    Posts
    840

    Default

    Developer :: Bluepark Solutions Ltd

  3. #3
    Join Date
    Oct 2008
    Location
    Penarth
    Posts
    11

    Default

    Thank you,
    Can i remove the warning sign?
    Regards
    Katie

  4. #4
    Join Date
    Aug 2007
    Location
    Northampton
    Posts
    840

    Default

    The warning sign is what protects the images, disabling the right-click function.
    Developer :: Bluepark Solutions Ltd

  5. #5
    Join Date
    Aug 2008
    Location
    Bournemouth
    Posts
    210

    Default Image & Text disable script

    Hi,

    Below is a scrip that will disable left and right buttons on the mouse for copying and disable the browser facility as well. This will stop people nicking your hard earned time writing up T&C's, copyright images, etc.

    <SCRIPT language=JavaScript>
    <!--
    var message="Copyright ©2008 Green Bear UK. All Rights Reserved.";
    function clickIE() {if (document.all) {(message);return false;}}
    function clickNS(e) {if
    (document.layers||(document.getElementById&&!docum ent.all)){
    if (e.which==2||e.which==3) {(message);return false;}}}
    if (document.layers)
    {document.captureEvents(Event.MOUSEDOWN);document. onmousedown=clickNS;}
    else{document.onmouseup=clickNS;document.oncontext menu=clickIE;}
    document.oncontextmenu=new Function("return false")
    function noclic(clic) {
    var msg="Copyright ©2008 Green Bear UK. All Rights Reserved.";
    if (navigator.appName == 'Netscape' && clic.which==3) {
    alert(msg);
    return false;}
    else
    if (navigator.appName == 'Microsoft Internet Explorer' && event.button==2) {
    alert(msg);
    return false;
    }
    return true;
    }
    if (document.layers) {
    document.captureEvents(Event.MOUSEDOWN);
    }
    document.onmousedown = noclic;
    // -->
    </SCRIPT>
    <script>function disableselect(e){
    return false
    }
    function reEnable(){
    return true
    }
    //if IE4+
    document.onselectstart=new Function ("return false")
    //if NS6
    if (window.sidebar){
    document.onmousedown=disableselect
    document.onclick=reEnable
    }
    </script>


    Hope this helps you and other members of the Bluepark community. If you want to see it working my site is still under development until Dec aprox but you can go to http://bp43.betapark.co.uk for the time being. It is within the front page.

  6. #6
    Join Date
    Oct 2007
    Location
    Hertfordshire
    Posts
    155

    Default

    Hi Mikeyred
    Where do you put this code?

  7. #7
    Join Date
    Oct 2008
    Location
    Penarth
    Posts
    11

    Default

    Quote Originally Posted by mikeyred View Post
    Hi,

    Below is a scrip that will disable left and right buttons on the mouse for copying and disable the browser facility as well. This will stop people nicking your hard earned time writing up T&C's, copyright images, etc.

    <SCRIPT language=JavaScript>
    <!--
    var message="Copyright ©2008 Green Bear UK. All Rights Reserved.";
    function clickIE() {if (document.all) {(message);return false;}}
    function clickNS(e) {if
    (document.layers||(document.getElementById&&!docum ent.all)){
    if (e.which==2||e.which==3) {(message);return false;}}}
    if (document.layers)
    {document.captureEvents(Event.MOUSEDOWN);document. onmousedown=clickNS;}
    else{document.onmouseup=clickNS;document.oncontext menu=clickIE;}
    document.oncontextmenu=new Function("return false")
    function noclic(clic) {
    var msg="Copyright ©2008 Green Bear UK. All Rights Reserved.";
    if (navigator.appName == 'Netscape' && clic.which==3) {
    alert(msg);
    return false;}
    else
    if (navigator.appName == 'Microsoft Internet Explorer' && event.button==2) {
    alert(msg);
    return false;
    }
    return true;
    }
    if (document.layers) {
    document.captureEvents(Event.MOUSEDOWN);
    }
    document.onmousedown = noclic;
    // -->
    </SCRIPT>
    <script>function disableselect(e){
    return false
    }
    function reEnable(){
    return true
    }
    //if IE4+
    document.onselectstart=new Function ("return false")
    //if NS6
    if (window.sidebar){
    document.onmousedown=disableselect
    document.onclick=reEnable
    }
    </script>


    Hope this helps you and other members of the Bluepark community. If you want to see it working my site is still under development until Dec aprox but you can go to http://bp43.betapark.co.uk for the time being. It is within the front page.
    wow, thanks- it's really appreciated
    Katie

  8. #8
    Join Date
    Dec 2007
    Location
    Leicester Forest East
    Posts
    1,720

    Default

    Mikeyreds script is an improvement over the one we are currently using and it does make it more difficult for people to steal your hard work but its not impossible. For example using Safari I can still drag images onto my desktop.

    If the person is determined enough they can view the source and copy text or follow paths to images and save them. For example
    http://bp43.betapark.co.uk/user/adv_clean_apple3g.gif

    If images are your own you could always considering watermarking them with copyright xyz

  9. #9
    Join Date
    Nov 2008
    Posts
    76

    Default

    That script doesn't seem to work for us, I've inserted it in the header css additional code of the template same as I did with the other script but it doesn't work. Does it need to go in a different location?

  10. #10
    Join Date
    Aug 2008
    Location
    Bournemouth
    Posts
    210

    Default

    hiya,

    Place the script in the head section of your template/site - not your additional css section. That may solve your problem. Alternatively, re-paste as it may have inadvertently broken going in. I had only placed it on individual pages but I have just placed in the Template editor header and is working across the whole site.... so should work on yours okay.

    As Dave has said and Richard will confirm, there is no way of stopping the determined but this will put the majority off, regarding the Safari browser, we will work on that part of the code but you will find this script will cover about 95% aprox of your visitors.

  11. #11
    Join Date
    Oct 2007
    Location
    Hertfordshire
    Posts
    155

    Default

    I tried the script on it's own and it did not work on the pictures but did on the text so I then added it to Richard's old script and it seems to work OK.
    Just hope I haven't corrupted anything by adding both scripts together.

  12. #12
    Join Date
    Aug 2008
    Location
    Bournemouth
    Posts
    210

    Default

    Hi,
    Strange... I have just loaded it up into my header in template editor to check and it all works fine (http://bp43.betapark.co.uk) I did discover with Rich, that if you enter a java script then work with it in format HTML mode, rather than plain source code, some scripts will be broken by the HTML formating. I would suggest you delete the script and re-paste it in source code format only and see if that works. At the moment, you do not have the copyright popup when over text, only over images on your site and all I can see for the moment in your code that it has all bunched up with no breaks between some of the commands. Hope it sorts out for you.

  13. #13
    Join Date
    Nov 2008
    Posts
    76

    Default

    Really sorry but it still doesn't work for me,

    Richard's original code with the pop up warning message works but this one doesn't.

    I've tired inserting as source and also creating it as a file and adding in a shorter linked code to the file as explained on http://www.bluepark.co.uk/forums/showthread.php?t=112

    Really cant see why it's not working


    EDIT:

    used;

    <SCRIPT language=JavaScript>
    <!--
    var message="Copyright ©2008 Green Bear UK Ltd. All Rights Reserved.";
    function clickIE() {if (document.all) {(message);return false;}}
    function clickNS(e) {if
    (document.layers||(document.getElementById&&!docum ent.all)){
    if (e.which==2||e.which==3) {(message);return false;}}}
    if (document.layers)
    {document.captureEvents(Event.MOUSEDOWN);document. onmousedown=clickNS;}
    else{document.onmouseup=clickNS;document.oncontext menu=clickIE;}
    document.oncontextmenu=new Function("return false")

    function noclic(clic) {
    var msg="Copyright ©2008 Green Bear UK Ltd. All Rights Reserved.";
    if (navigator.appName == 'Netscape' && clic.which==3) {
    alert(msg);
    return false;}
    else
    if (navigator.appName == 'Microsoft Internet Explorer' && event.button==2) {
    alert(msg);
    return false;
    }
    return true;
    }
    if (document.layers) {
    document.captureEvents(Event.MOUSEDOWN);
    }
    document.onmousedown = noclic;
    // -->
    </SCRIPT>

    <script>function disableselect(e){
    return false
    }

    function reEnable(){
    return true
    }

    //if IE4+
    document.onselectstart=new Function ("return false")

    //if NS6
    if (window.sidebar){
    document.onmousedown=disableselect
    document.onclick=reEnable
    }


    </script>


    Lifted from your site and it now works, will compare the code and see what the difference was...... hummm odd!

  14. #14
    Join Date
    Sep 2007
    Location
    Leicestershire
    Posts
    1,038

    Default

    Thanks mikeyred. This is an improvement on our previous script, though I can't get it to work on the images either, and have used Mike's idea of both scripts until I have time to work out why it won't work.

  15. #15
    Join Date
    Nov 2008
    Posts
    76

    Default

    Petad,

    If you use the script in the last post, that I lifted from Green Bear's website, it should work, I think in the original posted script at the start of this thread there is a character or something missing.

    The following code works, edit the copyright notices to your company name;

    <SCRIPT language=JavaScript>
    <!--
    var message="Copyright ©2008 Green Bear UK Ltd. All Rights Reserved.";
    function clickIE() {if (document.all) {(message);return false;}}
    function clickNS(e) {if
    (document.layers||(document.getElementById&&!docum ent.all)){
    if (e.which==2||e.which==3) {(message);return false;}}}
    if (document.layers)
    {document.captureEvents(Event.MOUSEDOWN);document. onmousedown=clickNS;}
    else{document.onmouseup=clickNS;document.oncontext menu=clickIE;}
    document.oncontextmenu=new Function("return false")

    function noclic(clic) {
    var msg="Copyright ©2008 Green Bear UK Ltd. All Rights Reserved.";
    if (navigator.appName == 'Netscape' && clic.which==3) {
    alert(msg);
    return false;}
    else
    if (navigator.appName == 'Microsoft Internet Explorer' && event.button==2) {
    alert(msg);
    return false;
    }
    return true;
    }
    if (document.layers) {
    document.captureEvents(Event.MOUSEDOWN);
    }
    document.onmousedown = noclic;
    // -->
    </SCRIPT>

    <script>function disableselect(e){
    return false
    }

    function reEnable(){
    return true
    }

    //if IE4+
    document.onselectstart=new Function ("return false")

    //if NS6
    if (window.sidebar){
    document.onmousedown=disableselect
    document.onclick=reEnable
    }


    </script>

  16. #16
    Join Date
    Sep 2007
    Location
    Leicestershire
    Posts
    1,038

    Default

    Thanks LeonardsGifts. I saw you post and did try that, but it still doesn't work...

  17. #17
    Join Date
    Sep 2007
    Location
    Nottingham
    Posts
    95

    Default

    Hmmmmm as with most, works on text but not the pictures ??

  18. #18
    Join Date
    Sep 2007
    Location
    Leicestershire
    Posts
    1,038

    Default

    Quote Originally Posted by TeamTorquesteer View Post
    Hmmmmm as with most, works on text but not the pictures ??
    That's right.

    Using both scripts does give the best of both worlds, so I'm not worried about it at the moment.

    Anyway, what's to stop someone taking a screen dump, then cropping out the image they want using Photshop or similar? Not that I've ever done it myself...

  19. #19
    Join Date
    Nov 2008
    Posts
    76

    Default

    Where are you putting the code, it should go in;


    site - template manager - [your current template]

    site - Head Section (Developers)



    Are you putting it in the "Header" section instead?

  20. #20
    Join Date
    Sep 2007
    Location
    Nottingham
    Posts
    95

    Default

    site - Head Section (Developers)
    Yep, thats where mine is!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

     

Similar Threads

  1. Copyright Issues
    By Wayne in forum Bluepark Technical Discussion
    Replies: 6
    Last Post: 09-12-2009, 12:29

Posting Permissions

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