I am trying to figure out if I can easily display a default image in place of any images that go missing from my website. The idea is just like that photobucket image that litters the internet and says, "THIS IMAGE OR VIDEO HAS BEEN MOVED OR DELETED". I have search around and tried a couple code snippets I found (preg_match)... but nothing is working for me. thanks,
Found it. Its an .htaccess rewrite thing: RewriteEngine on RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_URI} \.(gif|jpg|jpeg|png)$ RewriteRule .* images/mia.gif [L] Code (markup):