Discussion:
How to show img data in ie6
(too old to reply)
Robin Zhang
2008-04-30 08:04:46 UTC
Permalink
Hi all,
There are html file named img.html, the content of this file is:
<IMG SRC='data:image/gif;base64,R0lGODdhMAAwAPAAAAAAAP///ywAAAAAMAAwAAAC8IyPqcvt3wCcDkiLc7C0qwyGHhSWpjQu5yqmCYsapyuvUUlvONmOZtfzgFzByTB10QgxOR0TqBQejhRNzOfkVJ+5YiUqrXF5Y5lKh/DeuNcP5yLWGsEbtLiOSpa/TPg7JpJHxyendzWTBfX0cxOnKPjgBzi4diinWGdkF8kjdfnycQZXZeYGejmJlZeGl9i2icVqaNVailT6F5iJ90m6mvuTS4OK05M0vDk0Q4XUtwvKOzrcd3iq9uisF81M1OIcR7lEewwcLp7tuNNkM3uNna3F2JQFo97Vriy/Xl4/f1cf5VWzXyym7PHhhx4dbgYKAAA7' ALT='Larry'>

Opera and Firefox can open the file correctly, an image show in the explore, but IE6/7 cann't, Why?
I'm working with WebBrowser control under csharp, want show image in the control, is there any suggestion about that?

I want translate the image data to file and replace the data with a link <img link='xxxx.gif'>, is there other solution?

Thanks for all,
Robin
Hans Le Roy
2008-04-30 12:36:23 UTC
Permalink
Hi Robin,

As far as I know, IE doesn't implment this (RFC2397) because the text of the
image can get too long.

Kind regards

Hans
"Robin Zhang" <***@hotmail.com> wrote in message news:F7D55C66-1CEF-4D7F-838B-***@microsoft.com...
Hi all,
There are html file named img.html, the content of this file is:
<IMG
SRC='data:image/gif;base64,R0lGODdhMAAwAPAAAAAAAP///ywAAAAAMAAwAAAC8IyPqcvt3wCcDkiLc7C0qwyGHhSWpjQu5yqmCYsapyuvUUlvONmOZtfzgFzByTB10QgxOR0TqBQejhRNzOfkVJ+5YiUqrXF5Y5lKh/DeuNcP5yLWGsEbtLiOSpa/TPg7JpJHxyendzWTBfX0cxOnKPjgBzi4diinWGdkF8kjdfnycQZXZeYGejmJlZeGl9i2icVqaNVailT6F5iJ90m6mvuTS4OK05M0vDk0Q4XUtwvKOzrcd3iq9uisF81M1OIcR7lEewwcLp7tuNNkM3uNna3F2JQFo97Vriy/Xl4/f1cf5VWzXyym7PHhhx4dbgYKAAA7'
ALT='Larry'>

Opera and Firefox can open the file correctly, an image show in the explore,
but IE6/7 cann't, Why?
I'm working with WebBrowser control under csharp, want show image in the
control, is there any suggestion about that?

I want translate the image data to file and replace the data with a link
<img link='xxxx.gif'>, is there other solution?

Thanks for all,
Robin

Loading...