O'Reilly logo

Drupal 8 Module Development by Daniel Sipos

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Image styles

Even though as we've seen we can handle image manipulations programmatically ourselves, typically, this is done as part of Image Styles which can be created and configured via the UI. These work similarly as they did in Drupal 7 and involve the application of several possible Image Effects in order to create image variations used in different places. Drupal 8 comes with the same three default image styles as did Drupal 7:

The image styles themselves are configuration entities which store configuration specific to the ImageEffect plugins they work with. Once they are created in the UI, we can make use of them in various ways. The ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required