[eluser]Unknown[/eluser]
Friends this image size chk problem is solved by puting an external condition of is_image().
it will chk if there is an image then only chk image size otherwise skip.
if($this->is_image())
{
if (in_array($val, $image_types))
{
if (getimagesize($this->file_temp) === FALSE)
{
return FALSE;
}
}
}
if (is_array($mime))
{
if (in_array($this->file_type, $mime, TRUE))
{
return TRUE;
}
}
else
{
if ($mime == $this->file_type)
{
return TRUE;
}
}