Added onImageRequestFailed callback