Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing original image width and height #8

Open
HriBB opened this issue Sep 28, 2024 · 0 comments · May be fixed by #9
Open

Missing original image width and height #8

HriBB opened this issue Sep 28, 2024 · 0 comments · May be fixed by #9

Comments

@HriBB
Copy link

HriBB commented Sep 28, 2024

Always specify both the height and width attributes for images. If height and width are set, the space required for the image is reserved when the page is loaded. However, without these attributes, the browser does not know the size of the image, and cannot reserve the appropriate space to it. The effect will be that the page layout will change during loading (while the images load).

Source: w3schools

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant