denediÄŸim kod
$images = new Upload("test.jpg");
if ( $image->uploaded ) {
$images->image_greyscale = true;
$image->Process("asset/img/resimler/");
if ( $image->processed ){
echo "Resim yüklendi ";
} else {
echo "Resim yüklenirken bir hata oluştu!";
}
}Sorunu bu şekilde çözdüm. bu tarz sıkıntı yaşayan olursa zaman kaybı yaşamadın.
$files = array('pic1.jpg', 'pic2.jpg', 'pic3.jpg');foreach ($files as $file) {* $handle = new Upload($file);* if ($handle->uploaded) {* * $handle->image_resize * * * * * *= true;* * $handle->image_ratio_y * * * * * = true;* * $handle->image_x * * * * * * * * = 100;* * $handle->Process('destination_directory/');* }}https://www.verot.net/php_class_uplo...thread_id=4230