I'm new to learning WP theme development so I may not have worded the title perfectly but that's the best way I could think to explain it.
My theme is on a localhost so I can't link to it but here is a screenshot: https://i.stack.imgur.com/TjJ2j.png
What I want is for the_post_thumbnail to always fill the specified thumbnail media settings.
Currently the thumbnails will be different sizes depending on the width / height ratio.
I have gone into WP Dashboard and set the media thumbnail size for medium at 250px wide by 150px tall. I want the image to always fill that space, don't care if it's cut off but I want it to be that size.
Thanks, I hope I explained it correctly.