Setting height and width - HTML/CSS to Image
For height and width you have two options. Setting it in your HTML or using the API to crop your images on the fly.
Setting Height And Width On Images Is Important Again — Smashing
CSS object-fit and object-position properties: Crop images
Adjusting Images in HTML: Procedures & Examples - Lesson
HTML & CSS Tutorial: Width, Height, Position and Float!
Perfect Full Page Background Image
CSS Height and Width - GeeksforGeeks
CSS107 - Demystifying CSS Height, Width, and Outlines: A
Setting Height And Width On Images Is Important Again — Smashing
Use CSS3 to Stretch a Background Image to Fit a Web Page