Does this kludge of a thingy work in your setting?
`$= dv.el("img", "", {attr: { src : "app://local/" + app.vault.adapter.basePath + "/" + dv.current().portrait}}) `
Note portrait now needs to be the full path within your vault. Not a link, just the full path, like portrait: "img/folder/Ryan Green Portrait.jpg"