Forums / Setup & design / PDF Banner

PDF Banner

Author Message

Kevin Myles

Tuesday 10 August 2004 8:39:10 pm

I've been trying for the last few hours to add my banner, too the PDF template for exporting, but this has proven very difficult. at this oint, i'd settle for any image. any suggestions?
Cheers!

Kåre Køhler Høvik

Wednesday 11 August 2004 1:02:00 am

Exactly what are you trying to do ? Do you want to add banner ads to you PDF export, or just regular images ?

--
Kåre Høvik

Kåre Høvik

Kevin Myles

Wednesday 11 August 2004 6:51:29 am

Kare, cheers for replying.
Yes, that is what I'd like to do-i'd like it to display the banner, and not just a picture, if possible.. I attempted to insert the code found in the front pagelayout that contains the banner, in various places, but that didn't work out.
my pdf/embed.tpl is changed to display images just as the PDF tutorial suggests. Of course, I tried to display regular images but was having trouble with that.

Kåre Køhler Høvik

Wednesday 11 August 2004 6:54:02 am

Hi

Could you post the code you got in the templates here ? Please use the code tags around the tpl code.

Kåre Høvik

D K

Monday 26 January 2009 5:06:32 am

Hi,

I also have the same problem.

Following is the my code:

{def $image_list=fetch( 'content', 'related_objects', hash( 'object_id', $node.object.id,
'all_relations', array('common') ) )}

{pdf( image, hash(src,$image_list[0].main_node.path_identification_string) )}

Please help on this.

http://www.eyepax.com