Scope URL to directive and format SVG image

Issue #19