Topic: display image in layout [solved]
I have a layout for my app. It was created by Rails when the app was created. I want to display a banner-image at the top of my page. I created a div in the body tag to hold my image.
<div style="width: 650px; height: 100px; float: left; margin: 4px;"> <img src="images/banner-image.jpg" width="640" height="100" /> </div>
I have my image in the public/images/ directory. When I view a page in my browser I get a broken-image. On inspection, the path seen by the browser is:
I'm assuming the path should be: (??)
How should code my image tag so it will show my banner-image?
Thanks for any tips.
Last edited by johndc (2012-03-09 08:11:05)