How to display Base64 images in HTML?

后端 未结 11 2294
一整个雨季
一整个雨季 2020-11-21 06:10

I\'m having trouble displaying a Base64 image inline.

Can someone point me in the right direction?



  
         


        
11条回答
  •  灰色年华
    2020-11-21 06:54

    My suspect is of course actual base64 data, otherwise it looks good to me. See this fiddle where similar scheme is working. You may try specifying char set.

    Taken from wikpedia

    Red dot

    You can try this base64 decoder to see if your base64 data is correct or not.

提交回复
热议问题