PDF-Templates: Image sizes issue

Author Message

Marco Zinn

Thursday 09 November 2006 12:06:13 pm

I tried to use PDF creation (PDF view of an article) today. Worked quite fine, as we began working of PDF templates earlier.
Today, i tested embedded images within articles (embedded within an XML-block). While the "small" size looked quite nice, all other sizes seemed to have the wrong width (and possible height, to): The aspect ratio was broken.

Does anyone know the issue and solved it by chance?
I'm using ez 3.8.3. The installation has been updated, but the PDF library and the templates should be from the current standard design templates.

BTW: I had a closer look at the template /content/datatype/pdf/ezxmltags/embed.tpl and /content/pdf/embed.tpl (I might have typos here). While the first one really was used (I put debug print in it), i'm not sure, if the second one is the right one.
Oh: Is there any good way to have some kind of debugging wheren working on PDF templates? A PDF version of |attributes(show) would help, for example... or a template list ;)

Cheers,
Marco

Marco
http://www.hyperroad-design.com

fabian schoen

Friday 17 November 2006 2:43:24 am

Hi

Debug information of PDF's:
Did you check var/log/*.log when Debug is enabled?

regards
fabian

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.