If you want to change related posts thumbnail size then first you need to create a Custom Plugin and add below the filter.
$image_dimensions['width'] = '300';
$image_dimensions['height'] = '300';
The Output of change-related posts thumbnail size
That’s it for this tutorial!
We hope it helped you. If you have any feedback or questions, then please share them in the comments section below.