Custom 404 pages and image not found image
I have a gallery site, and looking through my logs it looks like peopls images arent found, i was wandering hopw i could display an image saying image not found, my idea was to use a custom php 404 page with some code that checks if what was requested was an image or not an dthen just outputs the not found image
Would this work if someone had posted on a forum but their image had been moved/deleted? Is this how other people go about the same problem?
Use .htaccess like this
ErrorDocument 404 http://www.yourdomain.com/noimage.jpg
I know this works... I tried it!
will that only show the image if an image is requested? or will it show the image no matter what is requested
it will return that image if ANY 404 occurs
Page generated in 1,394,288,310.20203 seconds with 18 queries