Hello Lech,

You can resize and crop images in the Media Manager of the Admin Dashboard.

This tutorial will help you https://www.wpbeginner.com/beginners-guide/how-to-crop-rotate-scale-and-flip-images-in-wordpress/

Or, you can enforce specific dimensions using some CSS code.

Which would you prefer?