cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Reinhard Poetz" <reinhard_po...@gmx.net>
Subject RE: Can't display images
Date Mon, 07 Oct 2002 09:22:39 GMT
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:glaplanche@jouve.fr]
> Sent: Monday, October 07, 2002 11:15 AM
> To: cocoon-users@xml.apache.org
> 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:     <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>
> 

---------------------------------------------------------------------
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:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message