For height and width you have two options. Setting it in your HTML or using the API to crop your images on the fly.
aspect-ratio CSS-Tricks - CSS-Tricks
Image height and width attributes in HTML
logo smaller in mobile version only!? - Mobirise Forums
Width of the div differs even though the settings are the same for
Setting Height And Width On Images Is Important Again — Smashing
jQuery height() Method
Min and Max Width/Height in CSS
Perfect Full Page Background Image
How to Resize Images Using CSS for Responsive Web Design
CSS Box Sizing Module Level 3
How to Change Image Size in Html - javatpoint