Closed guraysatici closed 2 years ago
Check the logs produced by the class
I have same problem. Nor errors. Precrop and resize not working
$handle->image_precrop = $crop;
foreach ($sizes as $key => $size) {
$handle->image_resize = true;
$handle->image_ratio_y = true;
$handle->file_overwrite = true;
$handle->file_new_name_body = $option->name;
$handle->file_name_body_pre = $size;
$handle->image_x = $size;
$handle->process($path);
}
if ($handle->processed) {
$handle->clean();
I have same problem. Nor errors. Precrop and resize not working
$handle->image_precrop = $crop; foreach ($sizes as $key => $size) { $handle->image_resize = true; $handle->image_ratio_y = true; $handle->file_overwrite = true; $handle->file_new_name_body = $option->name; $handle->file_name_body_pre = $size; $handle->image_x = $size; $handle->process($path); } if ($handle->processed) { $handle->clean();
Hi, Please check that the GD library loaded... it was resolved after loadin the GD library..
I have same problem. Nor errors. Precrop and resize not working
$handle->image_precrop = $crop; foreach ($sizes as $key => $size) { $handle->image_resize = true; $handle->image_ratio_y = true; $handle->file_overwrite = true; $handle->file_new_name_body = $option->name; $handle->file_name_body_pre = $size; $handle->image_x = $size; $handle->process($path); } if ($handle->processed) { $handle->clean();
Hi, Please check that the GD library loaded... it was resolved after loadin the GD library..
Thank you. It works now :)
Hi, i trying this php code but it's not working to image resize code.. im trying this code :