Google needs explicit width and height specifications for images
Google evaluates the ranking of a website based on its good usability and structure. You can check this with PageSpeedInsights for the websites. If I now call up a Wordpress post of mine with a PhotoGallery image series in the Masonry view in PageSpeedInsights, PageSpeedInsights complains about the missing explicit width and height specification for the images in the gallery.
Therefore, it would be very good for the Google ranking and the website quality if PhotoGallery would output the explicit width and height information for the images in the gallery.
More infos: https://web.dev/optimize-cls/?utm_source=lighthouse&utm_medium=lr#images-without-dimensions
-
After the calculation of the images for the Mansonry layout with JavaScript, there must be some transfer of the calculated images to the website where, for example, the Alt/Title etc. are specified. Can the script not also transmit the size of the calculated images?
It would be very unfortunate if there was no way to do that.
Please sign in to leave a comment.
Comments
2 comments