Preserve aspect ratio for images
I'm currently working on a website where I have images of random sizes. They all need to be...
Tags: ratio, image, javascript, ts