when the size is set to auto, we'd essentially take the image as-is and overflow the terminal. This commit makes auto scale down the image to fit the terminal dimensions if it is too big.
when the size is set to auto, we'd essentially take the image as-is and overflow the terminal. This commit makes auto scale down the image to fit the terminal dimensions if it is too big.