我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

无法在zend框架2中访问公共文件夹中的图像到模块

Scenario:

I'm developing a application based on zend framework. I have used skeleton application for my own requirement.

Problem Statement:

I have to use the images for my module which is below.

module/Application/view/application/index/index.phtml

From this path:

public/images/imagename.jpg

I am use like the following

background-image: url('./images/imagename.jpg');

I can see the image in the chrom dev tools image on dev tools

I cant see the image in the browser where i need

Things approached:

  • Displaying image in Zend Framework

  • How to merge Zend Framework 2 module public directories

近期文章

  • 如何将链接从页面上的一个位置复制到另一个div
  • 如何使用SQL查询获取内容生成PDF文件?
  • 设置jquery按钮而不是php错误和成功状态
  • PHP解析内容
  • 批量PHP isset生成器
  • Yii Datatprovider删除行
  • 在magento中使用户友好
  • Twitter Cron Job,将推文保存到DB
  • RedirectMatch 301将查询字符串更改为文件夹
  • 使用php将事件插入Google日历
  • 如何在PHP中管理任务执行时间
  • Amazon EC2中的$ .post到php文件似乎不起作用
  • HTTP状态500 - PHP FastCGI实例失败
  • mysql单个查询来计算多个值
  • 将Biometric FingerPrint与PHP代码集成
  • 使用Simplepie获取Facebook最新帖子
  • 无法以动态cakephp形式添加数组编号
  • 使用表单设置的ajax表单返回页面
  • 如果一个Foreach失败你可以做一个别的声明吗?
  • 一个非格式良好的数值遇到了解决方案

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华