Images loading late always breaks my layout because the page jumps around while the browser calculates the height. I've started setting aspect-ratio on the img tag itself so the space is reserved before the actual file downloads. It keeps things stable and prevents that
annoying layout shift during page load.
img {width: 100%;aspect-ratio: 16 / 9;object-fit: cover;}