First, we will use the Image style administrative page (admin/config/media/image-styles
) to create a custom image style:
Open the d8dev site in your favorite browser, click on the Configuration link in the Admin toolbar, and click on the Image styles link under the Media section.
Once the Image styles administrative page has loaded, click on the Add style link.
Next, enter
small
for the Image style name of your custom image style, and click on the Create new style button:Now, we will add the one and only effect for our custom image style by selecting Scale from the EFFECT options and then clicking on the Add button.
On the Add Scale effect page, enter
160
for the width and120
for the height. Leave the Allow Upscaling checkbox unchecked, and click on the Add effect button:Finally, just click on the Update style button on the Edit small style administrative page, and we are done. We now have a new custom...