Unfortunately no, it's not possible with only an <img>
tag. There are 2 solutions I can think of to your problem:
CSS background-image
Create a <div>
where the image is applied as a background-image property:
<div class="thumbnail" style="background: url(an-image.jpg) no-repeat 50% 50%"></div>
CSS clipping
Use the clip-path
property to only show a section of the image:
<!-- Clip properties are top, right, bottom, left and define a rectangle by its top-left and bottom-right points -->
<div style="clip-path: inset(10px 200px 200px 10px)">
<img src="an-image.jpg">
</div>
You can read more about it in this article.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…