So you've got your blog all set up, you've been publishing for a while, and all of a sudden you learn that people have been "hotlinking" to your images. This outrages you, so you set up an .htaccess rule to replace any "hotlinked" images with a graphic that says "Stealing Images Makes You A Jerk!"
That ought to teach those jerks for stealing your images... right? Sure it will, but I've got a question for you: Do you have an RSS feed?
Oh, you do?
Well, you've also just prevented all those "jerks" who subscribe to your feed from "stealing" your images too. Wait, you want them to be able to see your images? Of course you do.
The trick is to set up your .htaccess file to allow certain websites to be able to display your images, while blocking everyone else. You'd do it by making your .htaccess file look something like this:
What that does is look to see if your image is being loaded from some other website. If it is it then checks to see if that website is one of the "approved" ones. If the site in question is in the list, the image is displayed normally -- but if it's not, your "Do Not Steal" graphic gets displayed instead.
That list is all of the online RSS aggregators I know of. If you want to add your friend's site to your approved list, just copy one of the lines up there, substituting in the proper domain name. Don't include the "www," because that little "(.*)?" will match that if it's there.
If you use a reader that's not in that list, let me know so I can update the list here.
The author lives in Vancouver, Washington, USA with his girlfriend and a menagerie of cats, rats, fish, birds, guinea pigs and robots.
Among other inanities, he strives to use investigative techniques to work young starlet breasts into every aspect of rational discourse -- focusing on the discourse, thus making it not perverted. Also, has recently begun a career as "Internet hairstylist."
He can be contacted via email and Jabber IM at 'email@example.com'. He likes to be contacted.
(All press inquiries, however, ought be directed towards the author's agent, Alistair Hoel, via email to firstname.lastname@example.org.)