cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tobia Conforto <>
Subject Re: access remote jpg
Date Fri, 03 Aug 2007 14:22:22 GMT
Lincoln Mitchell wrote:
> You said: "What you probably can do is to make the request to your
> Cocoon server and let Cocoon grab it for you with a reader from the
> remote server." I am not familiar with the terms you are using so am a
> bit confused.

He meant: «Generate an HTML page that will make the client request the
image from your Cocoon server; in Cocoon, handle the request with a
reader, that will download the image from the remote server and send it
to the client.»

Example HTML:

	<img src="remote/123456.jpeg"/>

and matcher + reader:

	<map:match pattern="remote/*.jpeg">
	  <map:read src="http://remote.server/blah/blah/{1}.jpeg"/>


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message