Image Uploading (web only) silent failure
Hello,
I am using the Image upload function, and attempting to use the 'web images only' checkbox. If it is checked, the file never appears in my folder. If it is not checked, the image loads fine. I have attached my script.
Im using the standard code:
<?php
// WA_UploadResult1 Params Start
$WA_UploadResult1_Params = array();
// WA_UploadResult1_1 Start
$WA_UploadResult1_Params["WA_UploadResult1_1"] = array(
'UploadFolder' => "../admin/talent_pics/",
'FileName' => "[FileName]",
'DefaultFileName' => "",
'ResizeType' => "0",
'ResizeWidth' => "500",
'ResizeHeight' => "0",
'ResizeFillColor' => "" );
// WA_UploadResult1_1 End
// WA_UploadResult1 Params End
?>
<?php
WA_DFP_SetupUploadStatusStruct("WA_UploadResult1");
if(isset($_POST["Insert"]) || isset($_POST["Insert_x"])){
WA_DFP_UploadFiles("WA_UploadResult1", "default_picID", "0", "", "JPG:80", $WA_UploadResult1_Params);
}
?>
Thanks!