If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Hybrid View

Stopping image capturing

How do you go about making it so someone cannot scroll over a picture and right click to save the image from your webpage? Have you already made a tutorial on this? If so can I just get a link.
Now I realize a smart person would then just do a screen shoot but not everyone is that smart.

A screen shot is not the only thing you need to worry about: <ctrl> S will (usually) save your whole web page including ALL the images. That is one reason why some sites use thumbnails that you have to click on to pull up a larger image. The thumbnails are generally unprotected, but there are ways to protect the larger images. But whatever protection you use, someone can bypass...

ANY protection method can be slapped aside, as HTML is "insecure by design" -- any method -- be it javascript, javascript or... well... since javascript is the only client side language you would have access to, javascript, can be slapped aside in seconds. From document inspectors like firebug and dragonfly, to document information like the web developer toolbar's "information > document size", to simply using a cache browser, trying to stop it is effectively impossible.

Which is why usually you'll see things like watermarks -- one of the BEST watermark methods is to put the images behind a user login (assuming you have some sort of subscription service) then encode the visitors IP and account name into the image file in realtime. Takes a bit of server power to do, but it means when someone grabs the image and uses it somewhere else, you at least have a CHANCE at figuring out who took it and ban their account...

... but that's mostly only useful AFTER they've leeched you dry, to protect new content, not the existing stuff.

Bottom line, HTML just doesn't work that way; if you don't want people leeching your images, don't put them online. That's harsh, but it's also the reality of it.