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. 
How do you make a request to my Cocoon server? Do you just mean something
like:
<map:match pattern="*.jpg">
    <map:read mime-type="image/jpg" src="{1}.jpg"/>
</map:match>
And how do you let Cocoon grab it for you with a reader from the remote
server. Do I need to contact the content provider to find out what reader to
use.
What would help is some sample code maybe.

Apologies for my ignorance.

Linc


> -----Original Message-----
> From: Joerg Heinicke [mailto:[EMAIL PROTECTED]
> Sent: Friday, 3 August 2007 8:39 PM
> To: [email protected]
> Subject: Re: access remote jpg
> 
> On 03.08.2007 5:41 Uhr, Lincoln Mitchell wrote:
> 
> > Is it still worth looking into doc type / content type header. Will that
> > potentially allow me to use cocoon to show the images?
> 
> As Tobia found out it's the referrer header they seem to check, so I
> don't see how you can mimic it. It is a pure client side issue as I
> guessed. When you visit the saved HTML you don't have this header and
> their server allows you to access the image. When the HTML is served by
> Cocoon the image request gets set the referrer header to your server -
> and access to the image is blocked.
> 
> 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.
> 
> Or you just clarify with your content provider for which referrers the
> image access is allowed.
> 
> Joerg
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to