Call to undefined function: imagecreatefromjpeg

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Akshay Kumar Vishnoi
    New Member
    • Aug 2007
    • 1

    #1

    Call to undefined function: imagecreatefromjpeg

    when i am trying to create thumbnail from uploading image with calling a function containing imagecreatefrom jpeg(), i found an error call to undefine function while the image is successfully loaded in my background folder.
  • pbmods
    Recognized Expert Expert
    • Apr 2007
    • 5821

    #2
    Heya, Akshay.

    GD support is not installed in your PHP build. Recompile or reinstall PHP with GD support.

    PS. Changed thread title to better describe a problem (threads tend to get more responses when the title contains nouns *and* verbs, with emphasis on plural).

    Comment

    • jx2
      New Member
      • Feb 2007
      • 228

      #3
      see php.ini
      you need to find this line:

      ;extension=php_ gd2.dll
      and change it into this:

      extension=php_g d2.dll

      that should load GD extension automaticlly

      restart server

      it should help
      regards
      jx2

      Comment

      Working...