Image in pdf not work

Author Message

Vicente Olivan

Tuesday 11 April 2006 11:46:39 am

Followed the PDF export tutorial and template PDF functions.I have including the code in temp'late main article:

{let article=$node.contentobject_version_object
     node_name=$node.name}


  {pdf(pageNumber, hash( identifier, "main",
                         start, 1 ) )}

{pdf( 'image', hash( 'src', 'design/corporate/images/escudo_color.png',
                     'align', 'right' ) )}

{attribute_pdf_gui attribute=$article.data_map.title}

{attribute_pdf_gui attribute=$article.data_map.author}

{attribute_pdf_gui attribute=$article.data_map.intro}

{attribute_pdf_gui attribute=$article.data_map.body}

{pdf(pageNumber, hash( identifier, "main",
                       stop, 1 ) )}

{include uri="design:content/pdf/footer.tpl" node=$node}

{/let}

... and it doesn´t show any image.

Where is my mistake?
Some suggestion?
Thanks

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

eZ debug

Timing: Jan 21 2025 20:29:23
Script start
Timing: Jan 21 2025 20:29:23
Module start 'layout'
Timing: Jan 21 2025 20:29:23
Module start 'content'
Timing: Jan 21 2025 20:29:24
Module end 'content'
Timing: Jan 21 2025 20:29:24
Script end

Main resources:

Total runtime1.0295 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0055 589.2422152.0391
Module start 'layout' 0.00550.0027 741.281336.5938
Module start 'content' 0.00821.0205 777.8750463.9453
Module end 'content' 1.02870.0008 1,241.82038.0156
Script end 1.0295  1,249.8359 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00290.2815160.0002
Check MTime0.00120.1184160.0001
Mysql Total
Database connection0.00080.076410.0008
Mysqli_queries0.996196.7540460.0217
Looping result0.00030.0331440.0000
Template Total0.997096.820.4985
Template load0.00200.189620.0010
Template processing0.995096.651020.4975
Template load and register function0.00020.015410.0002
states
state_id_array0.00180.172610.0018
state_identifier_array0.00240.236620.0012
Override
Cache load0.00160.1522100.0002
Sytem overhead
Fetch class attribute can translate value0.00060.060410.0006
Fetch class attribute name0.00060.060120.0003
XML
Image XML parsing0.00230.218810.0023
class_abstraction
Instantiating content class attribute0.00000.000420.0000
General
dbfile0.00340.3294160.0002
String conversion0.00000.000840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 9
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs