I have this line in rhtml layout file of my controller file and the
image is in public/images/
the image is not displayed.
please help.
I have this line in rhtml layout file of my controller file and the
image is in public/images/
the image is not displayed.
please help.
On May 11, 2007, at 4:42 PM, raj wrote:
I have this line in rhtml layout file of my controller file and the
image is in public/images/the image is not displayed.
please help.
Try:
Or in Rails:
<%= image_tag ‘mainimage.jpg’, :size => ‘250x250’ %>
-Rob
Thank you that worked.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs