Convert byte[] to Base64 string for data URI

后端 未结 5 1548
名媛妹妹
名媛妹妹 2020-12-02 16:55

I know this has probably been asked 10000 times, however, I can\'t seem to find a straight answer to the question.

I have a LOB stored in my db that represents an i

5条回答
  •  温柔的废话
    2020-12-02 17:48

    That's the correct syntax. It might be that your web browser does not support the data URI scheme. See Which browsers support data URIs and since which version?

    Also, the JPEG MIME type is image/jpeg.

提交回复
热议问题