Hi everyone,
I start using PHP Thumb just couple weeks ago. Thanks for a such great utility component.
After I have upgraged my WAMP to the newest version, I realized GD library in the WAMP has changed to 2.0.34. The GD version change results that GD Thumb Class Definition File Class will not be able to verify the JPEG mime type and store into format variable. Thus, the image processes are triggering errors. Below is the gd_info dump.
GD Version : bundled (2.0.34 compatible)
FreeType Support : 1
FreeType Linkage : with freetype
T1Lib Support :
GIF Read Support : 1
GIF Create Support : 1
JPEG Support : 1
PNG Support : 1
WBMP Support : 1
XPM Support :
XBM Support : 1
JIS-mapped Japanese Font Support :
I put a quick fix for my code since the deadline is approching. I changed all the JPG to JPEG in GDThumb.inc.php. However, this fix is totally depending on the GD version on the server. If your PHP Thumb is running fine, you don't need to change it.