Suppose that I have this image (640x480) in 4:3 aspect ratio:
And the code to show it is:
<img src="../static/images/image4-3.jpg" class="img-fluid" alt="">
What I want is to show it in 16:9 (the real aspect ratio of that image, the dimensions are 640x360):
Is obvious that doing 16/9=1.77777777778 => 640/1.77777777778 = 360. So if set an style for "height: 360px" and "width: 100%" it works, but, it's not responsive, there is a way to edit the height of an image (dinamically) and mantain the responsive behaviour given by bootstrap?
By the way, I'm really new to CSS, so maybe this is an stupid quesiton.

