Ok I have had this trouble today as well. Do you have your xml files under the cocoon folder or one of your own. If so put the images into a folder like shown:
C:\Program Files\Apache Group\Apache2\htdocs\YOUR FOLDER\images YOUR FOLDER = if you have your xml files in a folder called 'guitars' under the cocoon folder then your folder would be guitars. The htdocs folder is the folder that serves to the web from apache, it might be different for you e.g. wwwROOT You then reference your images in the xsl file like so: <img src="/YOUR FOLDER/images/backgroundpda.jpg"/> Your images will then display when the webpage is loaded Hope this helps, Richard. -----Original Message----- From: Ines Robbers [mailto:[EMAIL PROTECTED] Sent: 11 March 2003 21:54 To: Cocoon Mailingliste Subject: Image doesn't display Hello! I have a problem displaying an image in a stylesheet: I have read the stuff on http://wiki.cocoondev.org/Wiki.jsp?page=ServingStaticFiles "Serving Static Files" but I can't get it to work. It sais in the end there is another why serving images through apache. How does that work? 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" What generator do I use to generate images? Can anybody please help? This is what I wrote in the sitemap: <!-- images --> <map:match pattern="img"> <map:generate src="img" type="imagedirectory"/> <map:transform src="img.xsl"/> <map:serialize type="html"/> </map:match> <map:match pattern="img/**"> <map:read src="img/{1}"/> </map:match> Many thanks! Ines --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]