IMHO, it's a lot easier to control thee size of the image using the width="?%" modifier to the img tag. The aspect ratio is handled automatically and the image is sized according to the viewing screen.
Using your example:
width="10%" yields:
width="20%" yields:
width="40%" yields:
width="60%" yields:
width="80%" yields:
Handy gadget. Can end overscanned graphics on FR forever.
30 posted on 02/06/2019 6:19:50 PM PST by upchuck
(Allowing any legal abortion was a slippery slope. Slide completed. ~ h/t YogicCowboy)