<IfModule mod_rewrite.c> RewriteEngine On # No Image RewriteCond %{REQUEST_FILENAME} !-f RewriteRule \.(gif|jpg|png|bmp) /img/no_img.jpg [NC,L] </IfModule>