If you hate it when people use your hosting to display images, (“Hotlinking”) You can stop this and show another image called devin.gif from an image host, paste this code in your .htaccess file:
RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://(.+\.)?yoursite\.com/ [NC]
RewriteCond %{HTTP_REFERER} !^$
RewriteRule .*\.(jpe?g|gif|bmp|png)$ http://photobucket.com/devin.gif [L]
The first line of the above code begins the rewrite.
The second line matches any requests from your url.
The [NC] code means “No Case”, this says match the url regardless of being in upper or lower case letters.
The third line means allow empty referrals.
The last line matches any files ending with the extension jpeg, jpg, gif, bmp, or png.
This is then replaced by the devin.gif image from the photobucket.com server. You could easily use your own hotlink image by placing an image file in your site’s directory and pointing to that file instead.
