// $avdata = @getimagesize("$matches$matches$matches");
$avdata = $matches; // Fix Wanabo
Make it like the above. Now its working.
$matches is the image extension and the extension should be in mimtypes_include.php.
Like the way it was this will never happen.