image check in rtutorial