v2.5.2
Giriş yap

Verot.net | Görsel Küçülmüyor?

ilkertuncer
337 defa görüntülendi

Selamlar. Verot.net in güncellenmiş sınıfı https://github.com/verot/class.upload.php ile yeni bir görsel küçültme işlemi yazdım.
Resim klasöre gidiyor fakat küçülmüyor. Nerede yanlış yapıyorum?

require_once 'config.php'; // dosyamızı dahil ediyoruz
require_once 'class.upload.php'; //class dosyamızı dahil ediyoruz
        $handle = new \Verot\Upload\Upload($_FILES['image']);
        if ($handle->uploaded) {
            $handle->process('uploads/resim');
            $handle->image_ratio_crop = false;
            $handle->image_resize = true;
            $handle->image_x = 271;
            $handle->image_y = 150;
            $handle->process('uploads/kucuk');
            if ($handle->processed) {
                $e = "" . $handle->file_dst_name . "";
            }
        }
ilkertuncer
676 gün önce

Merhaba @istek61. GD'mi açtım fakat işe yearamadı! https://prnt.sc/4zeDUinKfr_H
Sayfa içinde herhangibir hata da vermiyor