Re: Images not showing up in deployment

From: Chuck Hill (chil..lobal-village.net)
Date: Mon Apr 04 2005 - 20:58:30 EDT

  • Next message: Jean Pierre Malrieu: "Re: Images not showing up in deployment"

    Did you copy the images to your webserver's doc root? e.g.
    /Library/WebServer/Documents/WebObjects/Frameworks/TDComps.framework/
    WebServerResources/image1.gif

    Chuck

    On Apr 4, 2005, at 2:14 PM, Jean Pierre Malrieu wrote:

    > Facing all possible deployment problems one after the other, and
    > shamelessly asking the list (well, in fact, with a bit of shame).
    >
    > Now that my app is deployed, images do not show up (they do in
    > development).
    > Images are in a framework, in a directory called "Images".
    > Here is the html generated in deployment:
    >
    > <img border="0" ismap
    > src="/ERROR/NOT_FOUND/framework=TDComps/filename=image1.gif">
    >
    > The directory "Images" is indeed copied to the "WebServerResources"
    > directory in my deployed framework.
    > It is NOT copied to the Resources directory though.
    > I think I remembered that images ought to be copied BOTH to Resources
    > and WebServerResources.
    > But then, why would woproject/resources.include.paternset not include
    > them by default?
    >
    > I manually copied my "Images" directory to the "Resources" directory
    > of my deployed framework and restarted the instance. That didn't help.
    >
    > Now I am thinking: could it be a problem with the fact that my images
    > are in a directory? I am not seeing this directory in the generated
    > htlm. But maybe WO is just skipping filepath information when it
    > generates the html for a resource it does not find.
    >
    > Sorry for asking this type of question. I googled "WOLips + images",
    > and found that:
    >
    > http://david.codebase.ca/index.php?p=25
    >
    > but that seems a bit old, since it bypasses paternset files.
    >
    > Thanks for your advices.
    >
    > JPM
    >
    >
    >
    >
    >
    >
    >
    >

    -- 
    Practical WebObjects - a book for intermediate WebObjects developers  
    who want to increase their overall knowledge of WebObjects, or those  
    who are trying to solve specific application development problems.
    http://www.global-village.net/products/practical_webobjects
    



    This archive was generated by hypermail 2.0.0 : Mon Apr 04 2005 - 20:58:52 EDT