• <small id='Hx3vi'></small><noframes id='Hx3vi'>

    <tfoot id='Hx3vi'></tfoot>
        <i id='Hx3vi'><tr id='Hx3vi'><dt id='Hx3vi'><q id='Hx3vi'><span id='Hx3vi'><b id='Hx3vi'><form id='Hx3vi'><ins id='Hx3vi'></ins><ul id='Hx3vi'></ul><sub id='Hx3vi'></sub></form><legend id='Hx3vi'></legend><bdo id='Hx3vi'><pre id='Hx3vi'><center id='Hx3vi'></center></pre></bdo></b><th id='Hx3vi'></th></span></q></dt></tr></i><div id='Hx3vi'><tfoot id='Hx3vi'></tfoot><dl id='Hx3vi'><fieldset id='Hx3vi'></fieldset></dl></div>
        <legend id='Hx3vi'><style id='Hx3vi'><dir id='Hx3vi'><q id='Hx3vi'></q></dir></style></legend>
          <bdo id='Hx3vi'></bdo><ul id='Hx3vi'></ul>
      1. Internet Explorer 和 Base64 图像显示

        Internet Explorer and Base64 image display(Internet Explorer 和 Base64 图像显示)
      2. <small id='6cVNV'></small><noframes id='6cVNV'>

              <tbody id='6cVNV'></tbody>
          • <tfoot id='6cVNV'></tfoot>
            <i id='6cVNV'><tr id='6cVNV'><dt id='6cVNV'><q id='6cVNV'><span id='6cVNV'><b id='6cVNV'><form id='6cVNV'><ins id='6cVNV'></ins><ul id='6cVNV'></ul><sub id='6cVNV'></sub></form><legend id='6cVNV'></legend><bdo id='6cVNV'><pre id='6cVNV'><center id='6cVNV'></center></pre></bdo></b><th id='6cVNV'></th></span></q></dt></tr></i><div id='6cVNV'><tfoot id='6cVNV'></tfoot><dl id='6cVNV'><fieldset id='6cVNV'></fieldset></dl></div>

                • <bdo id='6cVNV'></bdo><ul id='6cVNV'></ul>
                  <legend id='6cVNV'><style id='6cVNV'><dir id='6cVNV'><q id='6cVNV'></q></dir></style></legend>

                  本文介绍了Internet Explorer 和 Base64 图像显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  In aim to manipulate more easily various images on client side with Javascript, I wrote a function on server side (in VB 2010) to convert a file into a base64 string that I send to the client.

                  When I tried it in Internet Explorer 8.0 with 3 different images, 1 portrait and 2 landscapes, I realized that only the portrait image was displayed entirely, meanwhile both landscape images were truncated (I can see just the upper part of the image).

                  I thought I had a bug in my conversion function, until I tried my local page with Firefox: every image is perfectly displayed by Firefox.

                  So there is my question: Is this a well-known bug of Internet Explorer ? If the answer is yes, Is there a well-known remedy for that well-known bug?

                  解决方案

                  IE8 can only do Base64 URI images up to 32kb in size. It's a marginally annoying limitation, but you can still get by with icons/etc. Keep in mind that Base64 encoded images are on average 33% more data sent down the pipe anyway, so it's... eh, y'know, use your judgement.

                  For anyone interested, it's also possible to make these work in IE6/7 (without, I might add, that 32kb limit...): http://venodesigns.net/2010/06/17/you-got-your-base64-in-my-css/

                  这篇关于Internet Explorer 和 Base64 图像显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Fetch multiple links inside foreach loop(在 foreach 循环中获取多个链接)
                  Backbone Fetch Request is OPTIONS method(Backbone Fetch Request 是 OPTIONS 方法)
                  Fetch API leaks memory in Chrome(Fetch API 在 Chrome 中泄漏内存)
                  How can I download and save a file using the Fetch API? (Node.js)(如何使用 Fetch API 下载和保存文件?(Node.js))
                  Send blob data to node using fetch, multer, express(使用 fetch、multer、express 将 blob 数据发送到节点)
                  Sending a custom User-Agent string along with my headers (fetch)(发送自定义用户代理字符串以及我的标头(获取))
                  1. <legend id='OsteX'><style id='OsteX'><dir id='OsteX'><q id='OsteX'></q></dir></style></legend>
                        <bdo id='OsteX'></bdo><ul id='OsteX'></ul>
                        <i id='OsteX'><tr id='OsteX'><dt id='OsteX'><q id='OsteX'><span id='OsteX'><b id='OsteX'><form id='OsteX'><ins id='OsteX'></ins><ul id='OsteX'></ul><sub id='OsteX'></sub></form><legend id='OsteX'></legend><bdo id='OsteX'><pre id='OsteX'><center id='OsteX'></center></pre></bdo></b><th id='OsteX'></th></span></q></dt></tr></i><div id='OsteX'><tfoot id='OsteX'></tfoot><dl id='OsteX'><fieldset id='OsteX'></fieldset></dl></div>

                        <tfoot id='OsteX'></tfoot>
                        • <small id='OsteX'></small><noframes id='OsteX'>

                            <tbody id='OsteX'></tbody>