You have this sorted already in practice, but I thought you might enjoy knowing about it as it's such a neat trick. To get small, medium or large directly in the HTML, you just put a s, m, or l right at the end of the code you post, just before the .jpg. So instead of:
no subject
Date: 2022-03-26 22:16 (UTC)img src="https://www.example.com/images/dinosaur.jpg"
it would be
img src="https://www.example.com/images/dinosaurm.jpg"
It's particularly handy if you want to vary the size you normally use for a particular image.