This script is very useful for free image hosting sites (ie: EagleImg). Put an .htaccess file in the root directory with the below code!
Change /directory/404.gif to the directory to your 404 error image. With this code, anytime an image (not hosted on the server) is requested, it will display the 404 error image!Code:ErrorDocument 404 /directory/404.gif