This topic is locked
[SOLVED]

 Call to undefined function imagesx()

4/28/2008 9:09:19 AM
PHPRunner General questions
rjks author

Hello Support,
I am using the pdf view and am getting the following error message
Call to undefined function imagesx() in C:\Inetpub\wwwroot\webroot\isoft\pdftest\plugins\html2ps\image.class.php on line 40
HELP!!
On a deadline as usual
Robert <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=8331&image=1&table=forumtopics' class='bbc_emoticon' alt=':(' />

Admin 4/29/2008

Robert,
you need to have GD2 extension enabled in your PHP to create PDFs with images.

You can find more info here:

http://www.php.net/manual/en/image.setup.php
On Windows you need to add this line to C:\Windows\php.ini file

extension=php_gd2.dll

S
spintz 5/8/2008

I'm getting this error :
imagesx(): supplied argument is not a valid Image resource
Any clue about this one? The GD2 extension is installed and working.