I was wondering if there is a way in php or perl to get an image to be watermarked using text or an image if it's being hot linked. I saw that G4tv.com does it on it's images and I was wondering how in the fuck they did it.
.htaccess
# Uncommment the next three lines if you want to prevent others from direct
# linking your images. Make sure to enter your site's url, or your own
# site won't be able to access them either!
#RewriteCond %{HTTP_REFERER} !^$
#RewriteCond %{HTTP_REFERER} !^http://your.site.here/.*$ [NC]
#RewriteRule ^.*\.(gif|jpg|png)$ img/bad.gif [L]