Re: Images not showing up in deployment

From: Jean Pierre Malrieu (jp.malrie..ree.fr)
Date: Tue Apr 05 2005 - 03:02:29 EDT

  • Next message: Philipp Leusmann: "build into other directory"

    Hi was performing split install so routinely with Xcode that I had
    forgotten the very purpose of it!

    Chuck, if you give me your adress, I'll send you a bottle of french
    wine (seriouly).

    JPM.

    Le 5 avr. 05, à 02:58, Chuck Hill a écrit :

    > 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 : Tue Apr 05 2005 - 03:02:32 EDT