View previous topic :: View next topic |
Author |
Message |
tritonstar -
Joined: 03 Apr 2004 Posts: 7
|
Posted: Sun Apr 11, 2004 6:26 pm Post subject: Fatal error: Call to undefined function: imagecreatefromjpeg |
|
|
I really dont know where to put this so ill put it here.
I have a script which should make thumnails of images in a folder. Now when i open the script (php), i get the following error:
Fatal error: Call to undefined function: imagecreatefromjpeg()
I read that this has something to do with GD support or something. Now i dont have a clue on how to fix the problem, i dont even know what this 'GD' is.
I have checked my php.ini, and everything is like it should be, so no problems there. What am i doing wrong? |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Mon Apr 12, 2004 12:13 am Post subject: Re: Fatal error: Call to undefined function: imagecreatefrom |
|
|
tritonstar,
You must install the GD2 library extension in PHP. We assume that you have a running PHP installation: Download the binary zipped package of PHP, open it, and copy the file php_gd2.dll in your already installed PHP directory (you only need this file).
Next, open your php.ini file, locate the line:
Code: | ;extension=php_gd2.dll |
uncomment the line by removing the preceding ";" so your line becomes:
Code: | extension=php_gd2.dll |
Retry your script. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
|