OK, I was asked this question a coupla days ago and, after initially saying it was impossible due to printscreen, came up with:
Load the image from a database in a protected folder thru ASP, (folder protected so that only scripts running on the server can access the database, prevents anyone else accessing the pic directly)
Use CS script to display so if script is disabled, it just won't show.
Display as background in a frame,(prevents dragging over to highlight and Ctrl-C). Make sure the frame is smaller than the pic so they have to scroll to see it all.
Disable right click in that area.
Trap mouseup on the frame/window and call a sub so that the image is covered/replaced on mouse up.
So as soon as the potential thief scrolls down to see the image and then switches focus to hit printscreen, the image disappears.
Trap and disable printscreen.
Solves every problem, particularly as the bit the guy wanted protected is on the bottom of the pic. As soon as the browser loses focus, you lose the pic, so you can't use the switch focus to another prog trick.
Absolutely brilliant I thought, until I tried it.
You cannot trap printscreen even when the browser has focus, it goes straight to Windows. Another brilliant idea down the pan. (AAA
Even if it did work, the thief could scroll down and keep the mouse button down. Pick up a digi cam with his other hand and snap.
So I told him to mess up the pic a bit ;-)
(Unless there is a way to disable printscreen?)
Ah well, I had a fun coupla hours trying to work round it.
Especially as the picture I was using to demo was a (tasteful) picture of Kylie Minogue.
![[gorgeous] [gorgeous] [gorgeous]](/data/assets/smilies/gorgeous.gif)