Create index file for images