[PHP] ImageCreateFromJpeg error

2002-11-21 Thread Scott Nagel
I am trying to use the following piece of code: $img_resized = imagecreate($img_new_width, $img_new_height); $img_source = ImageCreateFromJpeg($pa_strDocroot.$pa_strReadFold./.$this-Name); imagecopyresized($img_resized, $img_source, 0 , 0 , 0 , 0, $img_new_width, $img_new_height, $this-Width,

Re: [PHP] ImageCreateFromJpeg error

2002-11-21 Thread Jason Wong
On Friday 22 November 2002 03:21, Scott Nagel wrote: I am trying to use the following piece of code: $img_resized = imagecreate($img_new_width, $img_new_height); $img_source = ImageCreateFromJpeg($pa_strDocroot.$pa_strReadFold./.$this-Name); imagecopyresized($img_resized, $img_source, 0 , 0

Re: [PHP] ImageCreateFromJpeg error

2002-11-21 Thread Scott Nagel
Thanks for the help. Didn't know about the ini_set() function. The error was 'No JPEG support in this PHP build'. Jason Wong [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... On Friday 22 November 2002 03:21, Scott Nagel wrote: I am trying to use the following piece of code: