adds links to images, creates temp folder with cbc index template