We are very pleased to announce the release of the Imagine extension version 2.0.4.
The only change is that Image::thumbnail()
could now automatically calculate thumbnail dimensions based on aspect ratio of original image if only width or only height is specified. Image::$thumbnailBackgroundColor
and Image::$thumbnailBackgroundAlpha
are introduced to be able to configure fill color of thumbnails.
See the CHANGELOG for a complete list of changes.
Note that it's likely that it is the last 2.0.x release and the next one will be 2.1.x which may break backwards compatibility. Make sure you have ~2.0.0
in your composer.json
if you want to stay on 2.0.x releases.