[reportlab-users] Image flowable

John Pywtorak reportlab-users@reportlab.com
Mon, 23 Aug 2004 12:23:05 -0700


On Wednesday 18 August 2004 04:00 am, ing. Francesco Boscarino wrote:
> =A0 =A0 def addImageToFrame(self,id,foto,w,h):
> =A0 =A0 =A0 =A0 #self.Elements.append(FrameBreak(id)) =A0<--- with or wit=
hout this
> behaves the same self.Elements.append(Image(foto,w,h))
> where articolo.foto holds the filename of the jpg image.
>
> What I got is the pdf correctly generated but no image at all. I've
> installed PIL =A0and I got no errors.
>
> Any idea?

Try without the w,h.  I have some images and just add them and let PIL figu=
re=20
out width and height.  Also, I am adding them to a table versus directly in=
=20
the frame, so you might try that, or maybe you have already solved this.

Johnny P

=2D-=20
Windows
Start Here
=46rustrating Hanging Crashing
Blue Screen of Death
Reboot