resize svg and make borderless img by default