Problem:
phpThumb doesn’t work on php5.4
Solution:
Open phpthumb.class.php, change this line:
@$ImageOutFunction($this->gdimg_output, null, $this->thumbnailQuality);
into:
@$ImageOutFunction($this->gdimg_output, ”, $this->thumbnailQuality);
Reference:
http://php.net/manual/en/function.imagejpeg.php
http://se-suganuma.blogspot.hk/2013/01/php-54upgradephpthumbthumbnail.html