If you are using apache and have the mod_rewrite module, it is possible to set up a .htaccess file and put a rewrite condition to replace images for a default one if the requested image is not found,
Check the mod_rewrite usage with RewriteCond and the -f modifier, the code should look, more or less like:
Code:
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule $ /path to your default image [L]
__________________
Hades,
Ancient god, King of the Nether World, and Guardian of the Dead.
...and on my free time I'm also a web developer, contact me if you need one!
|