|
|
| |
1. PHP 5.3.4 error in jpg files |
|
Reply |
|
|
 joao luis | 2011-02-10 15:25:34 |
after alter for php 5.3.4 my script not support jpg files.
Fatal error: Image: Imagetype (jpg) not supported for reading. in /home/colegiob/public_html/adm/Image_Toolbox.class.php on line 444 |
| |
2. Re: PHP 5.3.4 error in jpg files |
|
Reply |
|
|
 Dirk Schmidtke | 2011-03-04 14:04:04 - In reply to message 1 from joao luis |
Looks like as of version 5.3 PHP returns image/jpeg instead of image/jpg as MIME type. So - modify the entry for jpg files in $_types around line 99 of the Image_Toolbox script to:
'mime' => 'image/jpeg' |
|