My apologies, I was steering you wrong.
the server variable to use is the Client file name.
and the extension list should contain the dots and be comma separated:
.gif, .jpg, .jpeg, .png
$WAFV_Errors .= WAValidateFE(((isset($_FILES["image"]))? preg_replace('/.[^.]*$/', '', $_FILES["image"]["name"]) :"") . "","gif jpg jpeg png",true,2);
should be changed to:
$WAFV_Errors .= WAValidateFE(((isset($_FILES["image"]))? $_FILES["image"]["name"] :"") . "",".gif, .jpg, .jpeg, .png",true,2);
sorry for leading you astray.