roller-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Broderick, Andrew" <>
Subject RE: Images when added to resource not available on browsing for frontpage blog
Date Thu, 14 Feb 2008 17:12:38 GMT
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: 


(which points to a subdirectory of images).


-----Original Message-----
From: Soniya Mathur [] 
Sent: Thursday, February 14, 2008 11:09 AM
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
blog. Everything seems to be working fine except one problem.
I have added images in themes/frontpage/images/ and added reference for
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"
height="90"  />

In both the cases I am not able to get the images in browser. When I see
source of the page I can see the path to the image as

background: url("

which I think is correct.

I have tried updeploying and then deploying again several times. But it
not work.

Please help me and suggest what to do.


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)

View raw message