image failure check