XPages Background Picture not visible

<?xml version="1.0" encoding="UTF-8"?><xp:view xmlns:xp="http://www.ibm.com/xsp/core"
pageTitle="Title" pageIcon="/Logo"

style="background-image:url(pictureressource1.jpg)">

</xp:view>

The background picture is good visible in the Designer as in the Notes Client.

When I’m starting the identical site in Firefox or IE, then I can not see the background grafik.

Has someone any ideas?

Bert

Subject: Code looks fine

Can’t see anything obviously wrong with the code and it seems to work for me.

I take it the image resource is contained in the same database as the xpage?

Subject: I have this same issue…

  • If I select an element, go to Properties, click Background, select an exsiting Image Resource, all in the Design tab, the automagic creates this:

<xp:panel id=“throbberInner” style=“background-image:url(throbber2.gif)” />

BUT that doesn’t work. Firebug says this:

“NetworkError: 404 Not Found - http://vger/Concept/throbber2.gif

This used work. Now the typically useless automagic is omitting the database name!

  • Come on Lotus. Regression test. If you are regression testing, then stop screwing that up, too…

Subject: Add it to a css file

I had the same issue. Also described in this technote:LO55522: XPAGE BACKGROUND IMAGE IS NOT DISPLAYED WHEN OPENING IT AS DESIG NATED XPAGE

I took a wild shot and exported by style properties (including background-image url) to a CSS file and voila it works without issue.

Hope it works for you as well.