Help with createimagefromjpeg not working

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Hi yet again,

I am trying to resize a previously uploaded image on my server to a thumbnail
but am getting a fatal error message as follows

Fatal error: Call to undefined function: imagecreatefromjpeg() in
\mydomain\resizeimage.php on line 10

This would imply that the function is not available from mywebhosts and yet
according to the php manual it has been available since ver 3 of php.

Note that php is installed on my webhosts server and not my local PC.

As always any help appreciated.



Re: Help with createimagefromjpeg not working

This is a multi-part message in MIME format.
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

Dynamo wrote:
Quoted text here. Click to load it

Image functions require the GD extension enabled.
You can check what's enabled writing a file (name it like phpinfo.php) with:
and calling it ( ) with a browser.
It sholud display a lot of info, including what extensions are
available. If there is not a 'gd' item, you're out of luck (unless you
talk your host into installing the thing).


Content-Type: text/x-vcard; charset=utf-8;
Content-Transfer-Encoding: base64
Content-Disposition: attachment;


Site Timeline