【发布时间】:2011-10-07 07:11:05
【问题描述】:
我是一个 codeignite 新手,并试图在我的文件中添加一个图像在视图文件夹下。
我将<img src="../images/myImage.jpg"></img> 添加到我的service_view.php。我所看到的只是一个小图标的断开链接。
但是,如果我将路径更改为
<img src="../../user_guide/images/myImage.jpg"></img>
我可以看到图像。
我的文件系统如下:
application-
view ->folder (where service_view.php is located)
images -> folder (where myImage.jpg is located)
user_guide-
images ->folder ((where myImage.jpg is located))
谁能帮我解决这个问题?非常感谢!
【问题讨论】:
标签: image codeigniter path