View Single Post
Old 07-03-2009, 12:20 AM   #4 (permalink)
Hades
Moderator
 
Hades's Avatar
 
Join Date: 01-23-07
Location: Buenos Aires, Argentina
Posts: 1,223
iTrader: 0 / 0%
Hades is a web professional of the highest orderHades is a web professional of the highest orderHades is a web professional of the highest orderHades is a web professional of the highest orderHades is a web professional of the highest orderHades is a web professional of the highest orderHades is a web professional of the highest orderHades is a web professional of the highest orderHades is a web professional of the highest orderHades is a web professional of the highest orderHades is a web professional of the highest order
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!
Hades is offline   Reply With Quote