SVG stands for Scalable Vector Graphics
SVGs are coded in a Markup Language (XML) and look a lot like HTML
Larger images use more data to download. The more to download, slower your web page.
Choose the right format: jpg, gif, SVG, etc.
Compress the images using a tool like Squoosh.
img {
aspect-ratio: 1;
...
...
}
img {
aspect-ratio: 1;
object-fit: cover;
width: 300px;
}