Version: 2.0.0
Released: 4-4-2018

Breaking

  • Ansel for Craft 2.0.0 drops support for Craft 2.x entirely (is that confusing? Sorry, Ansel 1 supported Craft 2, Ansel 2 supports Craft 3. So goes life). Ansel 2.0.0 is compatible exclusively with Craft 3 and has full composer support.

  • The entire under-the-hood API is new/changed/different. If you happened to be doing any usage of Ansel under-the-hood, I’m afraid you’ll need to re-write your code to use Ansel’s new services and methods.

  • A few things about templating have changed subtly to match the Craft 3 paradigm. Please read over the documentation.

Added

  • The user interface is entirely new and takes up less room while still providing all the same basic features as Ansel for Craft 1.x.

  • The new user interface is now 100% more mobile friendly.

  • Ansel now utilizes Craft 3’s native focal points by allowing you to set the focal point on the cropped image.

  • When adding/cropping images in the field interface, Ansel will now work on image manipulations in the background via ajax while you work on content entry. In most cases, the images will all be pre-manipulated before you ever click save on your entry or element. What this means in real world terms is that you will do less waiting after clicking the save button because Ansel will have already done the heavy lifting of image cropping and manipulation by the time you save. It also means the save process should be less error prone since Ansel will now manipulate one image at a time via AJAX, giving less chance for server timeouts and memory errors.

  • Ansel now supports live preview! (as best it can).

  • Did I mention that this is a complete re-write of Ansel for Craft? It was a lot of work. But it was well worth it and I think you’ll love it.