'text', 'png_picture' => 'file', 'full_picture' => 'file', ); } function updateProcess(){ parent::updateProcess(); $file = START_URL."block_files/".$_POST['data']['full_picture']; if(file_exists($file)){ if(!file_exists(START_URL."block_files/small/".$_POST['data']['full_picture'])){ $im = graphic_utill::ImageOpen($file, $_POST['data']['full_picture']); if($im) { $im = graphic_utill::ImageResize($im, 960, 362, 'crop'); imagejpeg($im, START_URL."block_files/".$_POST['data']['full_picture'], 100); } } } } } Добро пожаловать в интернет магазин Samgamer.com - SAMGAMER