imgSrc[i] = "/"+directory.name+ "/"+ entries.name;

imgSrc[i] = "/"+directory.name+ "/"+ entries.name;