https://blog.faltutech.com/2022/javascript/12/22/fit-an-image-to-a-specific-board-screen/