Yes I had it there earlier and they were available but I need to have them in one folder which can be packaged as a theme. So the theme and all related files which I create are contained within one folder.
On Thu, Feb 14, 2008 at 10:42 PM, Broderick, Andrew < [EMAIL PROTECTED]> wrote: > I would suggest putting them in the images directory, or a subdirectory > of it. You will then be able to access them with URLs like: > > http://localhost:8080/roller/images/promo/promo.png > > (which points to a subdirectory of images). > > -Andrew > > -----Original Message----- > From: Soniya Mathur [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 14, 2008 11:09 AM > To: [email protected] > Subject: Images when added to resource not available on browsing for > frontpage blog > > - 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" /> > > 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. > > I have tried updeploying and then deploying again several times. But it > did > not work. > > Please help me and suggest what to do. > > Thanks > Soniya > > > NOTICE: > This message may contain privileged or otherwise confidential information. > If you are not the intended recipient, please immediately advise the sender > by reply email and delete the message and any attachments without using, > copying or disclosing the contents. (FE1) >
