im using ionic 2 and want to load a picture while runtime. In the past projects i allways did it like this:
bikeImage.src = "data:image/jpeg;base64," + bikeResult.image;
But somehow it doesnt work anymore in typescript.
My Html-Tag Looks like this.
It says, that src is a unresolved variable.
Does anybody have an Idea how to fix this?
Thanks in advance.