有没有一种方法可以使图像通过ASP.NET和app_offline.htm显示? [英] Is there a way to get images to display with ASP.NET and app_offline.htm?

查看:58
本文介绍了有没有一种方法可以使图像通过ASP.NET和app_offline.htm显示?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用ASP.NET的app_offline.htm功能时,它仅允许html,但不允许图像.有没有一种方法可以使图像显示而不必将其指向另一个网站上的其他网址?

When using the app_offline.htm feature of ASP.NET, it only allows html, but no images. Is there a way to get images to display without having to point them to a different url on another site?

推荐答案

是的,它不能来自具有app_offline.htm文件的网站.该映像将必须托管在其他位置.

Yes, it just can't come from the site that has the app_offline.htm file. The image would have to be hosted elsewhere.

这篇关于有没有一种方法可以使图像通过ASP.NET和app_offline.htm显示?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆