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

Resize "hero" images on main page #2647

Open
jrochkind opened this issue May 31, 2024 · 1 comment
Open

Resize "hero" images on main page #2647

jrochkind opened this issue May 31, 2024 · 1 comment

Comments

@jrochkind
Copy link
Contributor

jrochkind commented May 31, 2024

We are using very large JPGs, without srcset, for the large rotating "hero" image.

The actual images look even larger than 2x the actual screen size taken on a fairly large screen.

This is a lot more bytes than is needed, slowing down page loading (especially on slower networks) -- and probably slowing down Google's metrics on our page responsiveness, leading ot less Google SEO than we could have.

We should make a series of resizes for each one, and use srcset to let the browser pick the appropriate one for actual size displayed (and network speed if browsers do that, but sadly I don't think they do)

@jrochkind
Copy link
Contributor Author

Also convert to .webp and maybe run through other optimizer tools to make smaller. As largest image on the page, it will help our Google SEO to make these images load faster.

(Could consider doing that with our single-work large thumbs in the future!)

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

No branches or pull requests

1 participant