This is the sort of thing I generally do.
+ Code Snippetif getfileexists("image.png")=1
loadimage(image,"image.png")
endif
That will check if the file exists, and ignore the load command if it fails. Obviously it doesn't check if the file is corrupted or not, just if it exists. You could easily flag an array to record each failure to load also. I'm not sure about checking file integrity, but I can't really see a need myself.