msgr adlı üyeden alıntı: mesajı görüntüle
$default='';
$other='';
$files = array(); 
 foreach ($_FILES['images'] as $k => $l) { 
   foreach ($l as $i => $v) { 
       if (!array_key_exists($i, $files)) 
           $files[$i] = array(); 
       $files[$i][$k] = $v; 
   } 
 } 
$uploaded = array();
 foreach ($files as $file):
   $handle = new Upload($file); 
   if ($handle->uploaded):
      $this_upload = array();
      $handle->file_new_name_body    = substr(base64_encode(uniqid(true)), 0, 20);
      $handle->Process(realpath("../")."/uploads/products/default/");
      $this_upload[] = $handle->file_dst_name;
      $default = $default. $handle->file_dst_name . ',';
      //Generate greyscale
      $handle->image_greyscale          = true;
    $handle->file_new_name_body      = substr(base64_encode(uniqid(true)), 0, 20);
      $handle->Process(realpath("../")."/uploads/products/other/");
    $other = $other. $handle->file_dst_name . ',';
    //Generate thumbnail
      $handle->image_resize = true;
    $handle->file_new_name_body      = substr(base64_encode(uniqid(true)), 0, 20);
      $handle->image_ratio_crop = true;
      $handle->image_x = 120;
      $handle->image_ratio_y = true;
      $handle->Process( realpath("../")."uploads/products/thumb/" );
   endif;
 endforeach;
şu şekilde dener misiniz?
malesef işe yaramadı

--R10.NET; Flood Engellendi -->-> Yeni yazılan mesaj 13:14:25 -->-> Daha önceki mesaj 13:13:11 --

Sample adlı üyeden alıntı: mesajı görüntüle
https://www.r10.net/php/1242899-php-d...islemleri.html


Konuyu İnceleyebilirsin Hocam

Güzel Bir Anlatım Yapmıştım

Curl İle Çekilen Resimler İçin yapmıştım Anlatımı Fakat Aynı Şekilde Resim Boyutlandırma Alanlarını Resmin ilk halini kaydettigin kodlara ekleme yapıp kullnabilirsin zaten heryerde acıklama yaptım konuda
Benim anlamadığım ilk iki türde bir problem yokken neden thumbnail almaya çalışırken upload etmiyor. Kafam orada takıldı. Kendi kodlarıma baktığım zaman bir problem göremiyorum.