created a seperate template for the image and subimages svg