Fatal error when generating pdf with image

Author Message

Mark Emms

Wednesday 09 May 2007 4:04:12 am

The output to the browser says:

Unknown function: imageinit() in /home/wwwcath/public_html/ezpublish/lib/ezpdf/classes/class.ezpdftable.php on line 1281

All I am trying to do is put an image into a pdf and I'm having problems. Here's the syntax I've been using:

{pdf( 'image', hash( 'src', 'design/news_site/images/PR_CARITAS_logo.gif',
                     'width', 222,
                     'height', 90,
                     'align', 'right' ) )}

in an override for node/view/pdf for a class loosely based upon an article

Really appreciate some pointers!

Thanks

Mark Emms

Wednesday 09 May 2007 11:07:15 am

Syntax, syntax...I should have known better:

{pdf( image, hash( src, 'design/news_site/images/PR_CARITAS_logo.gif', width, 148, height, 64, align,  right ) )}

works fine

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