Creating method to generate images from svg and put them on the report.