test height constraint on image