faqts : Computers : Programming : Languages : PHP : Common Problems : Images

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

17 of 32 people (53%) answered Yes
Recently 7 of 10 people (70%) answered Yes

Entry

Tengo el error "Call to undefined function: imagecreatefromjpeg() " alguien me puede decir porqué?

Feb 27th, 2005 02:46
Philip Olson, Alejandro Serrano G.,


Two possible reasons:
First, JPEG support is only available if PHP was compiled against GD
1.8.0  or later. Older versions of GD lack JPEG support.
Second, your PHP must be compiled with JPEG support. In otherwords,
using the following configuration tag: --with-jpeg-dir=DIR where DIR is
the path to your JPEG library.
See the following manual page for details:
  http://php.net/ref.image