In some rare cases uploading thumbnail might fail, because the code that checks thumbnail's MIME type totally ignores MIME type that is set in includes/upload_definitions.php
In includes/upload.php find:
foreach ($mime_type_match as $key => $val) {
Insert below:
if (in_array($key, $this->accepted_extensions['thumb'])) {
if (is_array($val)) {
foreach ($val as $key2 => $val2) {
$this->accepted_mime_types['thumb'][] = $val2;
}
}
else {
$this->accepted_mime_types['thumb'][] = $val;
}
}
If you wish, you can safely delete this block of code as it's not being used anymore:
//Thumbnails
$this->accepted_mime_types['thumb'] = array(
"image/jpg",
"image/jpeg",
"image/pjpeg",
"image/gif",
"image/x-png"
);