u/natewiebe13in r/programming • Recommends
On “Firefox (75+) now supports native lazy loading of images”
Actually, setting the image dimensions using the width and height attributes is ideal. Firefox and Chrome actually use these values to set a aspect ratio on the img element. You can then use CSS to make the image responsive such as width 100%, but it will now have the proper aspect ratio until the image downloads.
Edit: Here's Jen Simmons explaining this a bit more on the Mozilla Developer channel link to this video