[Users] fancy plugin: printing no-cache image

Gene Heskett gheskett at wdtv.com
Wed Apr 8 00:35:17 CEST 2015


On Tuesday 07 April 2015 18:15:10 Christian Hesse wrote:
> Michael Rasmussen <mir at miras.org> on Tue, 2015/04/07 23:45:
> > On Tue, 7 Apr 2015 23:37:52 +0200
> >
> > Michael Rasmussen <mir at miras.org> wrote:
> > > Does it not suffice to enable loading of remote content for the
> > > specific mail before printing?
> >
> > I have tested with a payment notification from paypal and enabling
> > remote content loading before printing does show all images with url
> > references.
> >
> > Use the small bar bottom left in the message view window. See
> > attached screenshot.
>
> I did use that. The e-mail is displayed correctly after that.
> It's just the printing that breaks.

If it is displayed, I'd go for printing the screen snapshot.

> I was wrong about that caching, though... The server does not send any
> rules about cache. Probably the Content-Disposition header is
> responsible for this?
>
> % curl -I \
> 'http://www.londonpass.de/barcodegen/orderbarcode.php?orderno=LPB'
> HTTP/1.1
> 200 OK Date: Tue, 07 Apr 2015 22:09:56 GMT
> Server: Apache
> Content-Disposition: inline; filename="barcode.png"
> Connection: close
> Content-Type: image/png

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>



More information about the Users mailing list