Forum: Ruby on Rails Template image display problem(newbie)

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
C1923672c96592b38c570691547889ee?d=identicon&s=25 Melinda (Guest)
on 2007-05-02 04:03
Hi guys,
         I use a web template for my rails application.
I place the images in public/image folder.
I edit my list.rhtml(got by scaffolding)
Now my image display code is as below:
<img src="images/WORK2R-2_04.gif" width="112" height="30" alt="">

But when i access the page from the IE then no image is displayed.
I have googled and found <% image_tag(WORK2R-2_04.gif) %> but no result.

Please make me clear about display image in rails page.

Melinda
This topic is locked and can not be replied to.