To see exactly what image functions that are or aren't available to you, try running this script.
<?php $func= array("GetImageSize", "ImageArc", "ImageChar", "ImageCharUp", "ImageColorAllocate", "ImageColorDeAllocate", "ImageColorAt", "ImageColorClosest", "ImageColorExact", "ImageColorResolve" , "ImageGammaCorrect", "ImageColorSet", "ImageColorsForIndex", "ImageColorsTotal", "ImageColorTransparent", "ImageCopy", "ImageCopyResized", "ImageCreate", "ImageCreateFromGIF", "ImageCreateFromJPEG", "ImageCreateFromPNG", "ImageCreateFromWBMP", "ImageCreateFromString", "ImageDashedLine", "ImageDestroy", "ImageFill", "ImageFilledPolygon", "ImageFilledRectangle", "ImageFillToBorder", "ImageFontHeight", "ImageFontWidth", "ImageGIF", "ImagePNG", "ImageJPEG", "ImageWBMP", "ImageInterlace", "ImageLine", "ImageLoadFont", "ImagePolygon", "ImagePSBBox", "ImagePSEncodeFont", "ImagePSFreeFont", "ImagePSLoadFont", "ImagePsExtendFont", "ImagePsSlantFont", "ImagePSText", "ImageRectangle", "ImageSetPixel", "ImageString", "ImageStringUp", "ImageSX", "ImageSY", "ImageTTFBBox", "ImageTTFText", "ImageTypes", "read_exif_data"); ?>Have:<br> ------<BR><? for ($i = 0; $i < count($func); $i++) { if (function_exists($func[$i])) { print $func[$i] . "()<BR>"; } } ?><br><Br>Don't Have:<br> ------------<BR><? for ($i = 0; $i < count($func); $i++) { if (!function_exists($func[$i])) { print $func[$i] . "()<BR>"; } } ?> ----- Original Message ----- From: "Richard Lynch" <[EMAIL PROTECTED]> To: "Adrian D'Costa" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, October 03, 2001 12:18 AM Subject: [PHP] Re: images no appearing > Older versions of GD will do GIF, but not JPEG, and vice versa... > > What versions of GD are on the two servers? > > -- > WARNING [EMAIL PROTECTED] address is an endangered species -- Use > [EMAIL PROTECTED] > Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm > Volunteer a little time: http://chatmusic.com/volunteer.htm > ----- Original Message ----- > From: Adrian D'Costa <[EMAIL PROTECTED]> > Newsgroups: php.general > To: php general list <[EMAIL PROTECTED]> > Sent: Monday, September 24, 2001 12:05 AM > Subject: images no appearing > > > > Hi, > > > > I wrote a php script to create a dynamic graph (image/jpeg). On my > > development system the image appears on my website it gives Image/Jpeg > > support not compiled. > > > > Below are the config settings: > > > > My system: > > Configure Command ^@ './configure' '--prefix=/usr' > > ^@'--with-config-file-path=/etc' '--disable-debug' > > ^@'--enable-pic' '--enable-inline-optimization' > > ^@'--enable-sockets' '--with-apxs=/usr/sbin/apxs' > > ^@'--disable-static' '--with-exec-dir=/usr/bin' > > ^@'--with-regex=system' '--with-gd' > > ^@'--with-jpeg-dir=/usr' '--with-png' '--with-gdbm' > > ^@'--enable-debugger' '--enable-magic-quotes' > > ^@'--enable-safe-mode' '--enable-track-vars' > > ^@'--enable-ftp' '--with-mysql' '--with-xml' > > ^@'--enable-trans-sid' > > ^@'--with-readline=/usr/include/readline' > > > > My webserver the info can be got from vvmm.net/phpinfo.php. > > > > They my provider has given --with-jpeg-dir=/usr/lib still the image does > > not appear. Even in the gd section it does not give JPG Support > > enabled. Only give. Right now I have changed the program to work with > > gif. My question, why not Jpg?? > > > > Adrian > > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]