Thursday 19 May 2005 12:24:20 am
Hi, please see : http://www.ez.no/ez_publish/documentation/incoming/pdf_export_tutorial . You basicly dneed to do this : In override.ini.append.php
[embedImage]
Source=content/pdf/embed.tpl
MatchFile=content/pdf/image.tpl
Subdir=templates
Match[class]=5
And add the template for the image :
{* ------- design/<your design>/override/templates/content/pdf/image.tpl ------ *}
{default image_class=large
alignment=false()
hspace=false()
border_size=0}
{let image_attribute=$object.data_map.image
image_content=$image_attribute.content}
{let image=$image_content[$image_class]}
{pdf(image,hash(src,$image.full_path,
width,$image.width,
height,$image.height,
border,$border_size))}
{/let}
{/let}
{/default}
Kåre Høvik
|