Need to destroy img so return both img and error for defering of Destroy