title: TimThumb Call to undefined function imagecreate fromjpeg()
body: <p>I have downloaded <a href="https://code.google.com/p/timthumb/" rel="nofollow">TimThumb</a> renamed the script to index.php and uploaded it to a heroku server. </p>
  
  <p>I get this error when using a jpg image. </p>
  
  <pre><code> [Wed Jul 10 08:01:28 2013] [error]
  [client xx] PHP Fatal error:  Call to undefined function imagecreate
  fromjpeg() in /app/www/index.php on line 1085
  </code></pre>
  
  <p>What is wrong? </p>
  
  <p>The script works fine with .gif and .png images.. </p>
  
  <p><strong>UPDATE SOLUTION:</strong></p>
  
  <p>I did find a build pack that worked:</p>
  
  <pre><code>heroku config:set BUILDPACK_URL=git://github.com/tomaskraina/heroku-buildpack-php-jpeg
  </code></pre>