Base64:如何在IE7中显示图像? (ASP.net/VB.net)

发布于 2025-01-03 14:10:03 字数 197 浏览 6 评论 0原文

我正在 ASP.net/VB 中生成验证码。 除了 IE 7 之外,一切都运行良好。

我需要在 IE7 中显示我的验证码。

我怎样才能做到这一点? 我的 img srcdata:image/png;base64, 开头。

有没有办法用 jQuery 和一点点 VB 来实现?

I'm generating captchas in ASP.net/VB.
Everything is working well except in IE 7.

I need to display my captchas in IE7.

How can I do that?
My img src starts with data:image/png;base64,.

Is there a way with jQuery and a little bit VB?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

青朷 2025-01-10 14:10:03

您可以使用 MHTML 来解决 IE 7 的问题。

有关说明和示例,请访问 < a href="http://www.phpied.com/mhtml-when-you-need-data-uris-in-ie7-and-under/" rel="nofollow">MHTML – 当您需要数据时:URIs IE7 和下。

You can use MHTML to work around the problem for IE 7.

An explanation and example is available at MHTML – when you need data: URIs in IE7 and under.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文