Yardım PHP - Verot.net Sınıfında Görsel Küçültme Hatası

Bu konuyu okuyanlar

iltu33

Öğrenci
Katılım
22 Haziran 2022
Mesajlar
8
Reaksiyon puanı
0
Puanları
1
Yaş
23
Selamlar. Verot.net in güncellenmiş sınıfı GitHub - verot/class.upload.php: This PHP class uploads files and manipulates images very easily. It is in fact as much as an image processing class than it is an upload class. Compatible with PHP4, 5 and 7. Supports processing of local files, uploaded files, files sent through XMLHttpRequest. 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 . "";
}
}
 

Son mesajlar

Üst