[Zope-CMF] zope hmtl2pdf doesn't render photos

Tim Willems tim@planetinterior.com
Thu, 26 Sep 2002 11:06:02 +0200


Maik,

i think i found the reason why my images aren't rendered: they are located
in a CMF Photo Folder, which changes the type "image" to "photo". Other
images stored outside the Photo Folder will render correct in the pdf. Do
you know a solution for including these "Photos", because i don't want to
give up the CMF Photo Folder Product?

Thanks,
Tim

-----Oorspronkelijk bericht-----
Van: Maik Jablonski [mailto:maik.jablonski@uni-bielefeld.de]
Verzonden: vrijdag 20 september 2002 12:38
Aan: tim@planetinterior.com
Onderwerp: Re: zope hmtl2pdf doesn't render images


Tim Willems wrote:
> Hi Maik,
>
> Thanks for this fabulous python script! I do have 1 problem tough: it
> doesn't render any images included in a webpage :-(
>
> For instance, when the html code says "<a
> href="http://www.foo.com/foo.jpg/view"><img
> src="http://www.foo.com/foo.jpg" alt="foo.jpg" width="320" height="240"
> border="0"></a>", the pdf gives me an empty field the size of the actual
> image + the link to the image in the Zope Photo Folder, but no actual
image.
>
> Is there a way to solve this problem? There doesn't seem to be any
> parameters I can add to your python script.

HTMLDoc works with images if it is properly compiled on your machine...
maybe you have to recompile with image-support or so. have a look at the
HTMLDoc-README.txt. another one to note: all images must be referenced
by absolute urls... this should be no prob for you, because you have
that done already alright...

cheers, maik