Support inline SVG in image