Index: trunk/kernel/include/image.php =================================================================== diff -u -N -r701 -r782 --- trunk/kernel/include/image.php (.../image.php) (revision 701) +++ trunk/kernel/include/image.php (.../image.php) (revision 782) @@ -196,7 +196,7 @@ if($this->Pending) $Dest_Dir .= "pending/"; - if(((int)$file["error"]==0) && (substr($file["type"],0,6)=="image/")) + if(((int)$file["error"]==0) && (substr($file["type"],0,6)=="image/") && @getimagesize($file["tmp_name"]) ) { $parts = pathinfo($file["name"]); $ext = strtolower($parts["extension"]);