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 <img src="/images/your image name">
thanx mithila On Sun, Apr 5, 2009 at 7:33 AM, Rik Stott <[email protected]>wrote: > > 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? > -- > Posted via http://www.ruby-forum.com/. > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

