checkign device image path