On Thu, 2007-02-22 at 15:02 +0100, afan@xxxxxxxx wrote: > > Check out... > > http://www.php.net/gd > > -B > Already did, but didn't find there any answer... > :( > > > > > afan@xxxxxxxx wrote: > >> after we (company I work for) mmoved to new hosting company (dedicated > >> server), I requested from them to instal php5 with GDlib to be able play > >> with images. > >> they did. > >> and then yesterday (2 months after we moved) I wasn't able to use > >> ImageCreateFromJpeg() function: > >> "Fatal error: Call to undefined function ImageCreateFromJpeg() in > >> /srv/www/mydomain.com/image_resize.php on line 11" > >> > >> Then, I was searching a little bit and found this from gd_info() > >> Array > >> ( > >> [GD Version] => bundled (2.0.28 compatible) > >> [FreeType Support] => > >> [T1Lib Support] => > >> [GIF Read Support] => 1 > >> [GIF Create Support] => 1 > >> [JPG Support] => It says right above... "[JPG Support] => ". In other words, there is none. Whoever compiled PHP (or the gd extension) didn't compile in support for JPG. You need to complain to your hosting company. Cheers, Rob. -- .------------------------------------------------------------. | InterJinn Application Framework - http://www.interjinn.com | :------------------------------------------------------------: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `------------------------------------------------------------' -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php