Well, Cartridge uses Pisa
<https://github.com/stephenmcd/cartridge/blob/master/cartridge/shop/views.py#L391>
to create the PDFs. Apparently you can pass a "link_callback" arg to
CreatePDF(). This callback should handle the conversion of the relative
path of the image in the HTML to the complete filesystem path to be
embedded in the document.
The xhtml2pdf docs provide a full example
<https://github.com/xhtml2pdf/xhtml2pdf/blob/master/doc/usage.rst#using-xhtml2pdf-in-django>.
You'll need to override the invoice view to pass the callback to
CreatePDF().
--
You received this message because you are subscribed to the Google Groups "Mezzanine
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.