implement image 404 checks