Forums / Developer / Logotype in PDF header

Logotype in PDF header

Author Message

Sofie Johansson

Friday 27 May 2005 6:28:20 am

Hi

As a beginner I´m feeling lost. Hoping that someone can help me. I have exported an article into PDF with overrides and my own templates (as I´ve read in PDF-tutorials) and pictures within the body are shown. But my problem is this: how can I get a logotype within the header of the PDF-file? it doesn´t seem to work in the same way as the other pictures as they are imbed.

Best Regards
Sofie

Developer, Novitell AB

Ɓukasz Serwatka

Monday 30 May 2005 1:11:50 am

Hi Sofie,

Look in to design\standard\templates\content\pdf\header.tpl

Use this code to display image in pdf

 {pdf(image,hash(src, image_full_path,
                       width, image_width,
		       height, image_height,
		       border, image_border_size))} 

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Sofie Johansson

Monday 30 May 2005 6:02:12 am

Thanks for your reply, but I have been looking at the file you recommend and unfortunately not been able to figure it out.

I have managed to view an image in the PDF-document, but only an embedded image in the article-body, not in the header. Is it something like this?

{pdf(image, hash(src, /images/logotype.gif, width, 100, height, 30, border, 0))}

Because I am afraid that does not seem work...I must have done something wrong.

Developer, Novitell AB