How to not enlarge the image

See all posts See thread Reply

Re: How to not enlarge the image new!
by Chan, 9 years, 7 months ago
It's works for me, thanks
$foo->file_new_name_body = $newName;
$foo->image_convert = 'jpg';
$foo->jpeg_quality = 100;
if ($foo->image_src_x > $maxWidth) {
  $foo->image_x = $maxWidth;
  $foo->image_resize = true;
  $foo->image_ratio_y = true;
}
Reply