我有一个小图像在heroku上显示为死链接,但没有在我的本地,图像文件被git推入其他所有内容。还有什么是我有其他图像显示出来很好。图片没有显示在heroku上,但在当地工作
为断开的图像
<% if report.status == 4 or report.status == 5 %>
<img src="<%= image_path('greenlight.png') %>" id="status">
<% elsif report.status == 2 or report.status == 3 %>
<img src="<%= image_path('yellowlight.png') %>" id="status">
<% elsif report.status == 1 %>
<img src="<%= image_path('redlight.png') %>" id="status">
<% end %>
视图文件视图文件为工作图像
<div id="header"><header>
<img src="<%= image_path('whfd_logo.png') %>" id="whfd">
<img src="<%= image_path('iaff.png') %>" id="iaff">
<span>text removed<br />
text removed</span>
</header></div>
视图源来回破碎图像
<img src="/images/yellowlight.png" id="status">
视图源工作图像
<img src="/images/whfd_logo.png?1329844130" id="whfd">
<img src="/images/iaff.png?1329844130" id="iaff">
在形象工程上我的本地查看源代码看起来像这样
<img src="/images/yellowlight.png?1329096113" id="status">
什么怎么回事?为什么图像丢失后的数字字符串?
啊,好的谢谢。 – 2012-02-22 12:36:44