If you want people to stop linking directly to images on your website to display on their website (hotlinking), put the following code in your htaccess file:
Here is a nice place to test for hotlinking: http://altlab.com/hotlinkchecker.php
Code:
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http://yoursite.com.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.yoursite.com.*$ [NC]
RewriteCond %{HTTP_REFERER} !^$
RewriteRule \.(gif|jpg|png|jpe?g|JPG|GIF|PNG)$ - [F]
Here is a nice place to test for hotlinking: http://altlab.com/hotlinkchecker.php