hi,
i just tried to place a image for the Header Middle Background, in the 'edit products store' page. i uploaded a 10-off.jpg file to the framework/images/webapp/images/ folder and inserted the images/10-off.jpg text in Header Middle Background box. But no image is being displayed. This is the same for Header Right Background option. Is this option working correctly or am i doing something wrong, please advise. Thank you. Rohit __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
try it with a leading / (ie. /images/10-off.jpg)
When things don't load where you think they should, check the source to see how it did output. --- Rohit Sureka <[hidden email]> wrote: > hi, > > i just tried to place a image for the Header Middle > Background, in the 'edit products store' page. i > uploaded a 10-off.jpg file to the > framework/images/webapp/images/ folder and inserted > the images/10-off.jpg text in Header Middle > Background box. But no image is being displayed. > This is the same for Header Right Background option. > > Is this option working correctly or am i doing > something wrong, please advise. > > Thank you. > > Rohit > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam > protection around > http://mail.yahoo.com |
hi,
the html source shows this only: </div> <div id="middle" style="background-image: /images/10-off.jpg;"> <div id="welcome-message"> Welcome! </div> The image URL is incomplete and it seems the problem is in the code of ofbiz. What do u think. Rohit |
This may have recently changed to be a css property
where before it was an html <img> tag. Try this instead for the time being: url('/images/10-off.jpg') make a Jira issue for it. CSS markup shouldn't need to be stored in the database, it should be rendered in the code calling the field. --- rohit2006 <[hidden email]> wrote: > > hi, > > the html source shows this only: > > </div> > <div id="middle" style="background-image: > /images/10-off.jpg;"> > > > <div id="welcome-message"> > > Welcome! > </div> > > The image URL is incomplete and it seems the problem > is in the code of > ofbiz. What do u think. > > Rohit > -- > View this message in context: > > Sent from the OFBiz - User forum at Nabble.com. > > |
Hi Chris,
Thanks for the reply. It does work only when the entire URL to the image is included, e.g www.mysite.com/images/image.jpg. This is the same case for catalog header images too. I have tried this on the latest SVN 421810, but it does not work. i have created a Jira issue for it; https://issues.apache.org/jira/browse/OFBIZ-88 Thanks, rohit |
I can't test the header log at the moment, but we have
that set as the entire path (the image isn't on our local machine, so our instance would need it either way) the Header middle background works when we use url('/images/ofbiz_logo.jpg') you should be using the relative path if the image resides on the local machine if it works. and in this case it does. But, the code does need to be updated to not require the css markup. I'll probably look into this more over the weekend. Thanks for posting the JIRA issue. --- rohit2006 <[hidden email]> wrote: > > Hi Chris, > > Thanks for the reply. > > It does work only when the entire URL to the image > is included, e.g > www.mysite.com/images/image.jpg. This is the same > case for catalog header > images too. I have tried this on the latest SVN > 421810, but it does not > work. > > i have created a Jira issue for it; > https://issues.apache.org/jira/browse/OFBIZ-88 > > Thanks, > > rohit > -- > View this message in context: > > Sent from the OFBiz - User forum at Nabble.com. > > |
Free forum by Nabble | Edit this page |