Recently while working on the admissions viewbook, we noticed that lazy loaded images that control the size of containers could possible set the size of that container to not have dimensions in one or more axises. We should implement the following, using the images native height and width as initial values, to ensure that there are inherent dimensions to the image to ensure it is flagged for loading.
Recently while working on the admissions viewbook, we noticed that lazy loaded images that control the size of containers could possible set the size of that container to not have dimensions in one or more axises. We should implement the following, using the images native height and width as initial values, to ensure that there are inherent dimensions to the image to ensure it is flagged for loading.
https://css-tricks.com/do-this-to-improve-image-loading-on-your-website/