Results 1 to 4 of 4

Thread: Photo Copywriting
      
   

  1. #1
    Snippets is offline Sergeant
    Join Date
    Jul 2005
    Location
    Glasgow, Scotland
    Posts
    22

    Default Photo Copywriting

    How do I disable the right click and copy of my photographs?

    Thanks for everyones help in getting my site published!

    Lindsay
    www.snippetsgrooming.co.uk


  2. #2
    Maddog's Avatar
    Maddog is offline Lieutenant Colonel
    Join Date
    May 2005
    Location
    UK
    Posts
    514

    Default

    <script language="JavaScript1.2">

    var clickmessage="Right click disabled on images!"

    function disableclick(e) {
    if (document.all) {
    if (event.button==2||event.button==3) {
    if (event.srcElement.tagName=="IMG"){
    alert(clickmessage);
    return false;
    }
    }
    }
    else if (document.layers) {
    if (e.which == 3) {
    alert(clickmessage);
    return false;
    }
    }
    else if (document.getElementById){
    if (e.which==3&&e.target.tagName=="IMG"){
    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>

    place in the end of page

    this will stop most people, however there are ways around it, nothing 100%, what you should do is place you name on each photo, using a photo edit program.
    www.bluevodaexchangelink.com
    BluevodaExchangeLink Help Center
    Bluevodaexchangelink Forum

    The only place for bluevoda site to be linked with!

  3. #3
    bumbleb is offline Private
    Join Date
    Aug 2005
    Location
    Middletown, PA
    Posts
    3

    Default

    You gave that in Java. Can you give it in HTML?

  4. #4
    Maddog's Avatar
    Maddog is offline Lieutenant Colonel
    Join Date
    May 2005
    Location
    UK
    Posts
    514

    Default

    Quote Originally Posted by bumbleb
    You gave that in Java. Can you give it in HTML?
    just copy and place in the "end of page" in page html option
    www.bluevodaexchangelink.com
    BluevodaExchangeLink Help Center
    Bluevodaexchangelink Forum

    The only place for bluevoda site to be linked with!

Thread Information

Users Browsing this Thread

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

     

Similar Threads

  1. import photo
    By gagsjustgolf in forum General Support Issues
    Replies: 1
    Last Post: 11-22-2005, 10:25 PM
  2. Coppermine Photo Gallery...
    By civcivcikcikder in forum Scripts & Fantastico
    Replies: 2
    Last Post: 11-16-2005, 07:01 PM
  3. Adding a Photo Album
    By wez3079 in forum General Support Issues
    Replies: 3
    Last Post: 09-16-2005, 07:58 AM
  4. Photo Gallery
    By Dale in forum General Support Issues
    Replies: 1
    Last Post: 05-28-2005, 08:22 AM
  5. Passwords, Calendars, and Photo Galleries!!!
    By Anonymous in forum General Support Issues
    Replies: 0
    Last Post: 05-15-2005, 04:49 PM

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