modified index page and fixed the output of the pictures