• 09-03-2014, 21:48:47
    #10
    Kimlik doğrulama veya yönetimden onay bekliyor.
    @dark_way; sonuna ; (noktalı virgül) koyman lazım

    @TuncerMehmet; değeri almıyor derken?
  • 09-03-2014, 22:17:17
    #11
    @saintx arkadaşımız tarafından sorun cözülmüştür kendısıne teşekkür ederim =)
  • 06-04-2014, 14:44:52
    #12
    @saintx
    Daha önceden bu konuyu beraber çözmüştük ama şunu yapamadım

    Resmin bide thumb oluşturmak istiyorum yalnız şöyle bir sorun oluyor
    Gerçek resimin adıyla thumb resiminin adı aynı olmasi gerek ama bunu bitürlü yapamadım

    başka bir konu açmadım bu konudan devam edelim diye

    if ($upload->uploaded)
    {
    	$upload->file_auto_rename = true;
    	$upload->allowed = array('image/*');
    	$upload->file_new_name_body = uniqid(true);
    	$upload->image_resize = true;
    	$upload->image_x = 435;
    	$upload->image_y = 390;
    	$upload->process('../img/temp/sliders/');
     	 $adi = is_null($upload->file_dst_name) || empty($upload->file_dst_name) ? "resimyok.jpg" : $upload->file_dst_name;
    		### Küçük Resim
          $upload->allowed = array('image/*');
            $upload->image_min_height = 100;
            $upload->image_min_width = 100;
       		$upload->file_new_name_body = uniqid(true);
            $upload->image_resize = true;
            $upload->image_ratio_crop = true;
            $upload->image_x = 200;
            $upload->image_y = 100;
            $upload->Process('../img/temp/sliders/kucuk');
    
    	 
    }
  • 06-04-2014, 15:10:43
    #13
    Developer
    TuncerMehmet adlı üyeden alıntı: mesajı görüntüle
    @saintx
    Daha önceden bu konuyu beraber çözmüştük ama şunu yapamadım

    Resmin bide thumb oluşturmak istiyorum yalnız şöyle bir sorun oluyor
    Gerçek resimin adıyla thumb resiminin adı aynı olmasi gerek ama bunu bitürlü yapamadım

    başka bir konu açmadım bu konudan devam edelim diye

    if ($upload->uploaded)
    {
        $upload->file_auto_rename = true;
        $upload->allowed = array('image/*');
        $upload->file_new_name_body = uniqid(true);
        $upload->image_resize = true;
        $upload->image_x = 435;
        $upload->image_y = 390;
        $upload->process('../img/temp/sliders/');
          $adi = is_null($upload->file_dst_name) || empty($upload->file_dst_name) ? "resimyok.jpg" : $upload->file_dst_name;
            ### Küçük Resim
          $upload->allowed = array('image/*');
            $upload->image_min_height = 100;
            $upload->image_min_width = 100;
               $upload->file_new_name_body = uniqid(true);
            $upload->image_resize = true;
            $upload->image_ratio_crop = true;
            $upload->image_x = 200;
            $upload->image_y = 100;
            $upload->Process('../img/temp/sliders/kucuk');
    
         
    }
    
    if ($upload->uploaded)
    {
        $upload->file_auto_rename = true;
        $upload->allowed = array('image/*');
        $upload->file_new_name_body = uniqid(true);
        $upload->image_resize = true;
        $upload->image_x = 435;
        $upload->image_y = 390;
        $upload->process('../img/temp/sliders/');
        $adi = is_null($upload->file_dst_name) || empty($upload->file_dst_name) ? "resimyok.jpg" : $upload->file_dst_name;
        $adi_uzantisiz = is_null($upload->file_dst_name_body) || empty($upload->file_dst_name_body) ? "resimyok" : $upload->file_dst_name_body;
        ### Küçük Resim
        $upload->allowed = array('image/*');
        $upload->image_min_height = 100;
        $upload->image_min_width = 100;
        $upload->file_new_name_body = $adi_uzantisiz;
        $upload->image_resize = true;
        $upload->image_ratio_crop = true;
        $upload->image_x = 200;
        $upload->image_y = 100;
        $upload->Process('../img/temp/sliders/kucuk');
    
         
    }
  • 06-04-2014, 15:13:10
    #14
    @FastPHP; Teşekkür ederim hocam dediginiz gibi yaptım gayette iyi calisiyor =)