> -----Original Message----- > From: Ines Robbers [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 11, 2003 4:54 PM > To: Cocoon Mailingliste > Subject: Image doesn't display > > > For now I tried to generate, transform and serialize the image because > as is explain on wiki: "the Reader method won't work for a static HTML > document"
I really don't think this statement is true, unless I have gone crazy. You absolutely _can_ serve static html pages with a reader. I don't see what it has to do with your situation, though. Can whoever wrote that statement on the wiki explain? > > What generator do I use to generate images? Well, remember a generator "generates" xml. So (except for svg format images, which are xml) you don't "generate" images. You can choose to serve them with Cocoon with the one concept that cocoon introduces to bypass the normal xml pipeline: Readers. The only problem I saw with the reader you set up is that you were not declaring the mime-type, which will cause problems. See the wiki page you mentioned for correct examples. Alternatively, you can choose to have the web server handle images - and the rest of the thread is answering that. You asked about where your document root is: in apache, go to %APACHE_HOME%\conf\http.conf and look for the document root configuration line. Geoff Howard --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]