More image error handling