<svg xmlns="http://www.w3.org/2000/svg">
<symbol id="gamecontroller" viewBox="0 0 64 64"> ... </symbol>
<symbol id="icons-11" viewBox="0 0 65 65"> ... </symbol>
<use xlink:href='#gamecontroller' />
</svg>
$('input[type="file"]').on('change', function(){
var imgfile = this.files[0];
if (!imgfile.type.match(/image.*/)){
console.error("The selected file is not an image: ", imgfile.type);
return;
}
var reader = new FileReader();
reader.onload = function(e, target){
var img = $('img.your-image');
img.attr('src', e.target.result);
};
reader.readAsDataURL(imgfile);
});