Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 7 of 7
  1. #1
    New to the CF scene
    Join Date
    Jan 2004
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Disable image drag & drop

    Could someone kindly tell me if there is a script to disable the image drag and drop function? I can disable the IE6 image toolbar, but thats all!

    Thanks for any help.

  • #2
    Regular Coder
    Join Date
    Aug 2002
    Location
    Silicon Valley, CA
    Posts
    980
    Thanks
    0
    Thanked 0 Times in 0 Posts
    What do you mean by "drag and drop function"?

  • #3
    New to the CF scene
    Join Date
    Jan 2004
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I have disabled the right mouse button and also the IE6 image tool bar, but I can still drag images off the web page..

    If you left click and drag the image to your desktop it downloads the image to your hard drive. I have looked everywhere for a script to overcome this, but had no-luck. Any suggestions

  • #4
    Regular Coder
    Join Date
    Jul 2003
    Location
    Massachusetts
    Posts
    472
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Originally posted by southwestalarms
    downloads the image to your hard drive.
    Right when the image is viewed this happens as well. There is no way to prevent it. Adding so-called "protection" features generally end up annoying users. If you don't want it stolen, simply don't upload it. Another alternative would be to only provide the thumbnails for your images or possibly watermark them.

  • #5
    New to the CF scene
    Join Date
    Jan 2004
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Cheers for all your help. Mark

  • #6
    Banned
    Join Date
    Sep 2003
    Posts
    3,620
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I wholeheartedly agree with Fred,
    But; Try this:

    <body oncontextmenu="return false";ondragstart="return false";onselectstart="return false">


    .....Willy

  • #7
    New Coder
    Join Date
    Jan 2004
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts
    if people want your images and they are drag and drop proof and the right clock is disabbled they can still print screenso there is nothing you can do about that


  •  

    Posting Permissions

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