add images and write layout for the different template views