composer require falconmedia/m2-categorythumbnails
bin/magento setup:upgrade
The module already create a widget calls Category Thumbnail Widget.
- Add an image to the category
- Select Category width Thumbnail Widget.
- Add Block Title and Tagline.
- Select the Categories you want to display in the widget
The module comes also with an option that adds thumbnails of subcategories on the Category page. The module counts the subcategories. Based on the counting number the columns will added.