AngularJS - Show byte array content as image

后端 未结 4 1123
眼角桃花
眼角桃花 2020-12-03 03:12

I\'m searching into my database a image as a byte array. I want to show this content as file using the markup image, but it doesn\'t work here.

// C         


        
4条回答
  •  佛祖请我去吃肉
    2020-12-03 04:00

    If you can get your server to return the image in a base64 encoded string, you could use a data url as the src attribute.

提交回复
热议问题