Testing broken image by checking directory level (take 2)