开发者

How can i display image in IE using base64 encoding method?

I want to display image using base64 encoding in IE using GWT

If it is not possible can u please suggest me the alternate way except creating the image to serverside & sending URL 开发者_开发知识库to the client side

Can u help me ?


Normally the syntax is:

<img src="data:image/gif;base64,DATA" />

where DATA is the base64-encoded image. However, IE doesn't support images of that form natively. It will work if you include the IE7 javascript library though, using this trick

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜