Forum Moderators: phranque
It is impossible to stop someone seeing your code - and if there was a way that it was so hidden - then the browser wouldn't be able to read it either, and you don't want that do you.
Secondly - when people see that there is an anti-right click script on someones website and they want a picture, another thing they tend to do, is print screen it, then crop it.
You're better off copyrighting them, like you said.
I mark my websites pictures using translucent text that says my websites url. I then state that if anyone manipulates the images on my website in any shape or form without prior written permission of the owner (me), that they will be dealt with at the full extent of the law.
Dealing with content thieves over the internet is almost impssobile anyway, because what might apply in one country, might not apply in another; that is if you can find out who they are, and where they are - but if you word things well enough, you can scare the average user into not taking that risk.
If you want to really protect your photos, and be able to go after someone for more money (criminal charges) if they steal your photos, you need to get a copyright form from the US Copyright Office. You can burn all of your images to a CD and submit them for $35.
I've never gotten into this as a professional photographer, but another photographer I know does this several times a year. He's had several of his photos ripped off.
In the end, though, unless your photo shows up in some high-profile venue, it's unlikely you'll even know it's been stolen.