[reportlab-users] Drawing things alongside paragraphs

Tim Roberts timr at probo.com
Thu Dec 18 14:17:04 EST 2008


Donn wrote:

> On Thursday, 18 December 2008 20:46:10 Tim Roberts wrote:

>

>> The platypus paragraph parser doesn't handle <img> tags.

>>

> Not according to the docs, unless I read them wrong. There is a section after

> the XML tags (like bold, font, etc.) that shows an img tag. If I could get

> that working it would solve the problem.

>


Well, I am a version or two behind, so perhaps it was added recently.

If so, then perhaps your real issue is the paths. Remember that your
ReportLab script is running locally on the server. It doesn't know
anything about the web. The <img> tag needs to use real file system
paths, relative to the directory containing the script (if you are
running CGI). You don't use URLs.

--
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.



More information about the reportlab-users mailing list