Relative Content

Tag Archive for pngimage-resizing

How can I resize an image if the content is not large enough?

I’m making a website and every picture I’ve used on my website has the dimensions 800×800 (px). However, I’m now running into a problem where the layout of my website breaks because I have a picture where the content is only 800px (width) by 280px (height). I would like to know how to resize the image to be 800×800, without the content stretching. I’m using the image extension webp, but if I can get any other file that seems correct (like png), I can change the extension without it changing the image.