Beispiel #1
0
 public function ThumImg($path, $c_uid)
 {
     $destPath = $path . ".jpg";
     $cls_up = new clsUpload();
     $cls_up->MakeThum($path, $destPath, ".jpg");
     $cls_config = new clsConfig();
     $c_host = $cls_config->GetRealServerIp();
     $c_url = $cls_config->GetRealServerPage();
     $c_url .= "image" . "&id={$c_uid}" . "&rurl=" . $cls_config->GetReturnUrl();
     $arrData = split("id=testfile&", $c_url);
     $c_url = $arrData[0] . $arrData[1];
     $cls_MultiUp = new clsMultiUp();
     $result = $cls_MultiUp->MultiPartUpload($c_host, $c_url, $destPath);
     // 썸네일 이미지.
     $this->thum_path = $result;
     //unlink($destPath);
     #echo $result;
 }