Fatal error: Call to undefined function: imagecreatefromjpeg

 
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions
View previous topic :: View next topic  
Author Message
tritonstar
-


Joined: 03 Apr 2004
Posts: 7

PostPosted: Sun Apr 11, 2004 6:26 pm    Post subject: Fatal error: Call to undefined function: imagecreatefromjpeg Reply with quote

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 View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Mon Apr 12, 2004 12:13 am    Post subject: Re: Fatal error: Call to undefined function: imagecreatefrom Reply with quote

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 View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group