Implementing SVG image download for all trees