Creation of images directory and index