update clears uploaded images
When I update a page (without uploading new images) the previously uploaded images are not referenced. I've tried to add the 'default image' as a hidden text box however, when I reopen the wizard the default reference is blank, what am I doing wrong?
here's the code that the wizard has created...
<?php
// WA_UploadResult1 Params Start
$WA_UploadResult1_Params = array();
// WA_UploadResult1_1 Start
$WA_UploadResult1_Params["WA_UploadResult1_1"] = array(
'UploadFolder' => "Assets/Books/",
'FileName' => "[FileName]",
'DefaultFileName' => "",
'ResizeType' => "4",
'ResizeWidth' => "300",
'ResizeHeight' => "450",
'ResizeFillColor' => "" );
// WA_UploadResult1_1 End
// WA_UploadResult1 Params End?>
<?php
WA_DFP_SetupUploadStatusStruct("WA_UploadResult1");
if(isset($_POST["Update_x"])){
WA_DFP_UploadFiles("WA_UploadResult1", "bibIMGfile", "0", "", "true", $WA_UploadResult1_Params);
}
?>