如何在图像文件夹位于应用程序之外时显示图像 [英] how to display images when the images folder is outside the application

查看:99
本文介绍了如何在图像文件夹位于应用程序之外时显示图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述









当图像文件夹在外面时,如何在div中加载图像项目,即我的图像文件夹存在于其他文件夹中,项目存在于其他文件夹中。我想加载图像而不将文件夹添加到网站根目录。





任何人都可以建议我紧急

Hi,



How to load an image in a div when images folders are outside the project i.e my image folder exist in some other folder and project exist in some other folder.i want to load the images without adding the folder to the website root.


can anyone suggest me it's urgent

推荐答案

将你的图片文件夹作为虚拟路径
make your image folder as a virtual path


这篇关于如何在图像文件夹位于应用程序之外时显示图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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