#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2000
    Posts
    1
    Rep Power
    0
    What about a script that keeps users from right-clicking on certain images?
    is there such a thing? It would be great to know that no one could easily steal my images.. does anyone know how I could script this?
  2. #2
  3. Contributing User
    Devshed Beginner (1000 - 1499 posts)

    Join Date
    Apr 2000
    Posts
    1,058
    Rep Power
    22
    I visited a site recently that whenever
    you moused over an image, an alert box
    popped up. Clicking ok on the box did no
    good, because to do that your mouse had to
    be over the image, which caused another
    alert box to pop up. You had to move the
    mouse off the image and push the Enter key
    to get rid of the alert box.

    This would probably deter the casual
    image "collector", but nothing (that I know
    of) is going to keep your images 100% safe.

    Scott
  4. #3
  5. No Profile Picture
    Apprentice Deity
    Devshed Loyal (3000 - 3499 posts)

    Join Date
    Jul 1999
    Location
    Niagara Falls (On the wrong side of the gorge)
    Posts
    3,237
    Rep Power
    19
    Easy workaround for that would be to turn off JS in your client...
  6. #4
  7. Contributing User
    Devshed Beginner (1000 - 1499 posts)

    Join Date
    Apr 2000
    Posts
    1,058
    Rep Power
    22
    Well, it sure didn't stop me from saving
    them! (and I didn't even have to disable
    js)

    I think that the best defense for images is
    to slice them up, but there's still the
    screenshot technique.

    Scott
  8. #5
  9. No Profile Picture
    d0g1e
    Guest
    Devshed Newbie (0 - 499 posts)
    I recently noticed that one of those image optimizing websites used a cool method to protect the optimized images, so you couldn't click thim except for when you register. The site is called www.gifwizard.com. It uses onMouseOver to change the image when you move your mouse over the image. Ofcourse it doesn't protect against the screenshot method.
  10. #6
  11. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 1999
    Posts
    25
    Rep Power
    0
    Disable Javascript,
    go to the site,
    use Gif Wizard,
    right-click the image you like,
    select Save Image As.
  12. #7
  13. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2000
    Posts
    11
    Rep Power
    0
    So what would stop someone from doing a screen capture? They could then cut and paste into their favorite image editor, and save as any format they liked.

    No matter how hard you try, there is always a way around, especially in an environment that was never designed with security in mind.

    -Joe
  14. #8
  15. Contributing User
    Devshed Beginner (1000 - 1499 posts)

    Join Date
    Apr 2000
    Posts
    1,058
    Rep Power
    22
    A site I visited recently had written
    their copyright info right on the image
    itself. Nothing new you say? Just clip it
    off you say? Not this time! They had put
    it right across the middle of the image.
    They wrote there using a transparent
    embossing effect. Subtle enough that you
    could still see the artwork, yet completely
    undeniable that it was theirs.

    Scott

  16. #9
  17. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2000
    Posts
    4
    Rep Power
    0
    The best way to protect your images is to call a script, which in turn calls your image. Anytime I've seen this done, it's been done in java. It looks just like an image to your visitors, but it's actually the output of a program. Because your browser doesn't realise that this program displays an image, it won't offer you the option to save the image.

    Of course, as has already been noted, there is nothing you can do to stop someone from just doing a screen grab :/

    ------------------
    Cheers,

    Jack

IMN logo majestic logo threadwatch logo seochat tools logo