replace svg by png. use relative paths