Call to undefined function: imagecreatefromjpeg()

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
cuidado
-


Joined: 12 Apr 2004
Posts: 3
Location: Redditch uk

PostPosted: Mon Apr 12, 2004 6:20 pm    Post subject: Call to undefined function: imagecreatefromjpeg() Reply with quote

Hi Everyone

Im new to php so i need some help with this one. Im currently running a free php script on the blueyonder apache server which makes thumbnails from my larger images on the fly. Its great and it works really well. When i try to run the same setup on the Abyss server i get the following message:-

Call to undefined function: imagecreatefromjpeg()

I wonder if anyone can help me with this please?

Thanks

Tony.
Back to top View user's profile Send private message
nquin321
-


Joined: 29 Jan 2004
Posts: 296
Location: Right Behind You

PostPosted: Mon Apr 12, 2004 6:39 pm    Post subject: Reply with quote

cuidado,

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.
_________________
How many forum members does it takes to change a light bulb?
Back to top View user's profile Send private message
cuidado
-


Joined: 12 Apr 2004
Posts: 3
Location: Redditch uk

PostPosted: Mon Apr 12, 2004 8:59 pm    Post subject: Reply with quote

Dear nquin 321

Thankyou for your very clear and concise instructions. I did exactly as you said, and it worked perfectly first time. I hope that you are enjoying an easter break and I would like to wish both you and your's a very happy holiday.

With thanks

Tony.
Back to top View user's profile Send private message
nquin321
-


Joined: 29 Jan 2004
Posts: 296
Location: Right Behind You

PostPosted: Mon Apr 12, 2004 9:29 pm    Post subject: Reply with quote

You’re Welcome,

But I have to give credit to aprelium who originally came up with the answer to this question.
_________________
How many forum members does it takes to change a light bulb?
Back to top View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP 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