cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leszek Gawron <lgaw...@mobilebox.pl>
Subject Re: Questions re using SVG in Cocoon
Date Mon, 31 Jul 2006 14:16:52 GMT
hepabolu wrote:
> Leszek Gawron said the following on 31/7/06 14:24:
>>> - AFAICT I should be able to display the image in my result page as
>>> <img src="cocoon://my-svg-pipeline?parameters=x"/>
>>
>> Shouldn't you provide a link here instead of calling cocoon:// protocol?
> 
> Well, my idea too, but I think I read this somewhere. Anyway it doesn't 
> work and I have no clue how I can include a generated image (i.e. what's 
> its name and location?). Any ideas?

hmmm... I think a reader should take it's place:

<map:match pattern="image/*.jpg">
	<map:read src="cocoon://myimagepipeline/{1}"/>
</map:match>

and then in html code:

<img src="image/1.jpg"/>


-- 
Leszek Gawron                                      lgawron@mobilebox.pl
IT Manager                                         MobileBox sp. z o.o.
+48 (61) 855 06 67                              http://www.mobilebox.pl
mobile: +48 (501) 720 812                       fax: +48 (61) 853 29 65

Mime
View raw message