I have a folder full of images and when en images is called form that directory and not found I would like the default image to show up.
I have added an HTAccess file with this content:
ErrorDocument 404 default.jpg
And added a default.jpg image in the directory.
I have used this approach successfully on a few other sites but in this instance when I open a page with a missing photo I still get the standard ugly missing image icon. However, if I open that image in a new tab I get a page with the text 'default.jpg' on it.
Anyone got an idea how I can fix it?