开发者

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

开发者 https://www.devze.com 2022-12-26 09:20 出处:网络
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 开发者_开发知识

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

精彩评论

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