Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Help with createimagefromjpeg not working
January 17, 2005, 3:58 pm
rate this thread
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
Content-Type: text/plain; charset=UTF-8; format=flowed
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 (http://yourdomain.com/phpinfo.php ) 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;