Fixed bug with image and svg url instead of path