[英]html Resource interpreted as Image but transferred with MIME type image/jpg:base64:
This is the jsfiddle 这是jsfiddle
http://jsfiddle.net/Y6Msa/ http://jsfiddle.net/Y6Msa/
The image doesn't appear instead, I got this in the console: 图像没有出现,而是在控制台中显示的:
Resource interpreted as Image but transferred with MIME type image/jpg:base64:
Sorry I couldn't paste the code of the image here, because the base 64 is long so I pasted it in the a jsfiddle 抱歉,我无法在此处粘贴图片代码,因为基数64很长,因此我将其粘贴到jsfiddle中
many thanks 非常感谢
it should be 它应该是
data:image/jpeg;base64,....
you are missing the 'e' - and as later worked out the jsFiddle has ":" wrong before the base64 您丢失了'e'-后来计算出jsFiddle在base64之前有“:”错误
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.