cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lincoln Mitchell" <linc...@interfaces-n-creatives.com>
Subject RE: access remote jpg
Date Fri, 03 Aug 2007 09:41:57 GMT
I have a work around.
I can output the site via HTTrack (web copier tool) and once its not in
cocoon it works fine.
Is it still worth looking into doc type / content type header. Will that
potentially allow me to use cocoon to show the images?

Linc

> -----Original Message-----
> From: Tobia Conforto [mailto:tobia.conforto@linux.it]
> Sent: Friday, 3 August 2007 3:53 PM
> To: users@cocoon.apache.org
> Subject: Re: access remote jpg
> 
> Lincoln Mitchell wrote:
> > <img src="http://www.absnetwork.com.au/abs_consult-106079.jpg">
> > <img src="http://static-r.arttoday.com/thb/thb13/JU/5366_C00347/
> > 4559477.thb.jpg?dlsmC0034765">
> >
> > only the 1st image appears, but if I save the HTML cocoon generates
> > and open that html file independent of cocoon the 2nd image also
> appears!
> 
> That's because static-r.arttoday.com seems to forbid access to their
> images from unapproved referrers, but allows access with no referrer.
> 
> Besides, it's considered very rude to embed media from a different site
> in your web page without permission, even if the copyright would allow it.
> 
> I suppose you should fetch the image once only, with a blank referrer
> header, and serve it to your users from your server.  You should also
> cache it in a database or in the filesystem for future requests.
> 
> I don't have a clue how to do that in Cocoon :-)
> 
> 
> Tobia
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message