Make sure that the image is available at that link:
./test.html
./pics/test.jpg
Maybe you have to insert something like this:
<map:match pattern="pics/*.jpg">
<map:read src="pics/{1}.jpg" mime-type="image/jpg"/>
</map:match>
Try to access your image directly (entering the URL into the adress bar)
Regards,
Reinhard
> -----Original Message-----
> From: Ganael LAPLANCHE [mailto:[EMAIL PROTECTED]]
> Sent: Monday, October 07, 2002 11:15 AM
> To: [EMAIL PROTECTED]
> Subject: Can't display images
>
>
> Hi !
>
> I've got a very stupid problem...
> If I insert an image link in an XML page, it isn't displayed at all...
>
> Here is my sitemap code...
>
> <map:pipeline>
> <map:match pattern="test.html">
> <map:generate src="docs/test.xml" type="serverpages"/>
> <map:transform src="stylesheets/dynamic-page2html.xsl"/>
> <map:serialize type="html"/>
> </map:match>
> </map:pipeline>
>
> The image is inserted in the test.xml file with this link : <img
> src="pics/test.jpg"/>
> How can I display it ?
>
> Gan.
>
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>