add images to templates