What PHP library would you recommend for thumbnails generation?
I need it to work with GD (not only Imagick), be able to stretch images or keep aspect ratio when only one dimension given, and – most important – be able to crop&resize image (when generating thumbnails, I need all of them to be, let’s say 128×128, so I want the library to crop images in that case)
What are yours recommendations?
What PHP library would you recommend for thumbnails generation? I need it to work
Share
I coded my own GD wrapper for my framework, phunction. Some examples:
There are other good alternatives like Asido and WideImage but this one works for me, and since it is a simple method with only one dependency you can easily use it standalone:
Watermarking and converting / displaying (instead of saving) images is also supported.