Displaying 2 results from an estimated 2 matches for "work2r".
Did you mean:
work2
2007 May 02
0
Template image display problem(newbie)
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
--
P...
2007 May 02
1
problem in: img_options["size"] = img_size
...uot;src"] + ".gif" unless
img_options["src"].include?(".")
img_options["border"] = "0"
img_options["size"] = img_size
tag("img", img_options)
end
end
in my list.rhtml page I have the following code:
<%= show_image("WORK2R-2_02.gif","16x16") %>
But the second parameter is not working for me.
Is the problem in syntax?
plz make me clear.
sanjay
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to...