Hey,
How can we use the crop function to make a proportional thumbnail?
$image->crop(300)
makes a square, and I would like the function to make the height proportional to the original format.
thank you
Hey,
How can we use the crop function to make a proportional thumbnail?
$image->crop(300)
makes a square, and I would like the function to make the height proportional to the original format.
thank you
If you use resize()
instead of crop()
the proportion of the image is preserved.
perfect as usual! thanks
I ended up manually cropping massive images in snaggit. This is pretty cool. Thank you.