Images in html.erb files

Hey everyone,

I was just wondering, is there any way of putting images into a html.erb
file? whenever I try it does not show the image, instead it just ignores
the code or leaves the text assigned to the image from my html code.

can anyone help me get an image onto a html.erb file? or are are
html.erb files not supposed to have images put onto them?

hi RIK, Don’t know exactly what you are asking, if you want to just put
image in your html.erb or rhtml this will work. place your images in
“public\images” folder, and set path

thanx
mithila

On Sun, Apr 5, 2009 at 7:33 AM, Rik Stott

I basically want a couple of images to appear in one of the html.erb
files in my views folder. I have sent the images to my public/images
folder and have set the url for the images as how you shown above, but
it still decides to refrain from loading up onto my html.erb pages.

mithila karunarathna wrote:

hi RIK, Don’t know exactly what you are asking, if you want to just put
image in your html.erb or rhtml this will work. place your images in
“public\images” folder, and set path

thanx
mithila

On Sun, Apr 5, 2009 at 7:33 AM, Rik Stott

ignore that, that worked, thank you

mithila karunarathna wrote:

hi RIK, Don’t know exactly what you are asking, if you want to just put
image in your html.erb or rhtml this will work. place your images in
“public\images” folder, and set path

thanx
mithila

On Sun, Apr 5, 2009 at 7:33 AM, Rik Stott