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

Lazy-load images in longer pages #27

Closed
ISSOtm opened this issue Sep 17, 2023 · 2 comments
Closed

Lazy-load images in longer pages #27

ISSOtm opened this issue Sep 17, 2023 · 2 comments

Comments

@ISSOtm
Copy link
Owner

ISSOtm commented Sep 17, 2023

Some pages have a lot of images! Giving them the loading="lazy" attribute would help spreading out their loading.

The main problem is that I'm currently using Markdown image tags, which do not generate that attribute. Switching to HTML is a possibility, but may degrade in other ways... so it needs testing.

@ISSOtm
Copy link
Owner Author

ISSOtm commented Oct 23, 2023

Zola should have support in the next release: getzola/zola#2211

@ISSOtm
Copy link
Owner Author

ISSOtm commented Jan 12, 2024

Images don't eat up much data, all things considered, and lazy-loading doesn't play nice with people opening pages to read them later offline.

@ISSOtm ISSOtm closed this as not planned Won't fix, can't repro, duplicate, stale Jan 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant