« A cat's life | Main | Making things deliberately difficult »

Hotlinking solved

I decided not to redirect hotlinks to my images to something obnoxious, though it would have been satisfying for a little while. (I was thinking of, “Image hotlinking suspended until News Corp. pays my bandwidth charges,” but I figure 90% of MySpace users wouldn’t get it anyway.)

Instead, I found this splendid technique which redirects outside requests for .*jpg|.*gif|.*png$ to a PHP script displaying the image with a text credit. Since this is served as text/html, it shows as a broken image if it’s embedded in another page; however, if you use a link to the image, you get the display page. This means you can link to the images, but not embed them in your pages.

Now Playing: Treatment Bound from Hootenanny by The Replacements

Comments

Aaaannnd… it’s broken.

Post a comment