> Yes. It does look correct -- except for the fact that the URL is > listed twice, but I suspect that is the fault of your email program.
Yes thats right, email program added the additional url. In the source it is there only once. > Is the image available at that URL? What happens if you paste that URL > into your browser's address bar? When I pasted the url http://127.0.0.1:8080/roller/main/resource/images/box_bottom.gif in the address bar of the browser, I got 404 error : "Sorry! We couldn't find your document" That is why the images are not available. thanks On Fri, Feb 15, 2008 at 7:39 AM, Dave <[EMAIL PROTECTED]> wrote: > On Thu, Feb 14, 2008 at 12:09 PM, Soniya Mathur <[EMAIL PROTECTED]> > wrote: > > - version of Roller : Roller 4.0 > > - Application Server version TomCat 6.0 > > - database MySql > > - Java version Java Platform SE6 Version 1.6.0 > > - operating system are you using? Win XP > > - browsers : Mozila Firefox, IE6 IE& > > > > I have installed Roller version 4 and developing a theme for my > frontpage > > blog. Everything seems to be working fine except one problem. > > I have added images in themes/frontpage/images/ and added reference for > them > > in theme.xml. eg. > > <resource path="images/box_top.gif" /> > > > > I added reference to this image in _css as > > div.entry_outer{ background: > url("$url.resource("images/box_top.gif")") > > no-repeat left top; padding: 5px; margin-top: 10px;} > > > > Similarly added reference to an image in weblog.vm > > <img src=$url.resource("images/create-account.png") alt="create" > width="90" > > height="90" /> > > That all looks correct. $url.resource() is the right way to create the > URL to a theme resource. > > > > In both the cases I am not able to get the images in browser. When I > see the > > source of the page I can see the path to the image as > > > > background: url(" > http://localhost:8080/roller/main/resource/images/box_bottom.gif< > http://127.0.0.1:8080/roller/main/resource/images/box_bottom.gif>"); > > which I think is correct. > > Yes. It does look correct -- except for the fact that the URL is > listed twice, but I suspect that is the fault of your email program. > > Is the image available at that URL? What happens if you paste that URL > into your browser's address bar? > > - Dave >
