img {
    aspect-ratio: 3/2;
    /* Force width and height to prevent image resizing */
    width: 300px; 
    height: 200px;
}