Added required on renameImage.