I am trying to add an svg image inside of a rectangle which should be positioned in the middle of the rectangle.
I want to add the test.svg local image from the "images" directory.This approach that I did works only with url path.
Is there a different way to make it work with local .svg files?
Later on I am going to have multiple svg files.
Fiddle: https://jsfiddle.net/zo8pyed9/2/