pombreda / xhtml2pdf

Automatically exported from code.google.com/p/xhtml2pdf
GNU General Public License v2.0
0 stars 0 forks source link

ho.pisa Need a valid file name! #73

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The image handling in Pisa drives me crazy. I have the following img reference 
in my HTML:

<td id="sop-logo">
<img src="ukm-logo.jpg" width="100px" height="100px" />
</td>
Using the pisaDocument() API gives me an error:

2011-06-06 06:28:27 WARNING ho.pisa Need a valid file name!
u'<img height="100px" src="ukm-logo.jpg" width="100px"/>'

Running the same HTML through the bin/pisa frontend works and the image is 
included with the PDF.

Even changing the src attribute to using a file:// URL did not help...why?

Original issue reported on code.google.com by zopyxfilter on 13 Jun 2011 at 3:05