2006-12-23, 02:25 PM
If you want to attach a jpg file using IE7 you get an error that you uploaded an invalid file.
Fix:
Open inc/functions_upload.php and search for (Lines 154-159):
Fix:
Open inc/functions_upload.php and search for (Lines 154-159):
case "image/jpeg":
case "image/x-jpg":
case "image/x-jpeg":
case "image/pjpeg":
$img_type = 2;
break;
Replace with: case "image/jpeg":
case "image/x-jpg":
case "image/x-jpeg":
case "image/pjpeg":
case "image/jpg":
$img_type = 2;
break;
You have to add the mime-type image/jpg. Do the same in the lines 330 - 335.