checking image naem instead