Ruby on Rails Monday, November 22, 2010

thank u .....it worked...

On Nov 22, 1:32 pm, Colin Law <clan...@googlemail.com> wrote:
> On 22 November 2010 04:53, venkata reddy <venkatareddy...@gmail.com> wrote:
>
> > [...]
> > <img src=*C:\rails-projects\insert_static\public\images\bg.gif*
> > width="800" height="600" />
>
> If you have images in public/images just reverence by
> src="/images/bg.gif"  (don't forget the leading /).  Alternatively use
> image_tag( "bg.gif" ) which will look in public/images.
>
> Colin

--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment