Does anybody know why I could be getting the error:

Call to undefined function: imagecreatefromjpeg()

when i use the code:

$im2 = imagecreatefromjpeg($picture_location);

I am running PHP 4.3.0 if that makes a difference.

Thanks for the help.

    It seems to me to remember that you have to enable the GD Library to rnable that kind of functions

      How do I go about enabling the GD functions?

        Depends on your OS. If you are using windows you simply uncomment the gd line in your php.ini

          9 days later

          i'm having the same problem. however, after uncommenting the extension=php_gd.dll in php.ini, it gives me the following error upon starting apache:

          The procedure entity point zend_list_find could not be located in the dynamic link library php4ts.dll.

          i'm unsure where to go from there.

          thanks

            Write a Reply...