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

Optimize Images #88

Closed
raylinanthony opened this issue Oct 28, 2017 · 3 comments
Closed

Optimize Images #88

raylinanthony opened this issue Oct 28, 2017 · 3 comments

Comments

@raylinanthony
Copy link

Properly formatting and compressing images can save many bytes of data.

Compressing and resizing https://avatars3.githubusercontent.com/u/439839?v=4 could save 257.2KiB (98% reduction).
Compressing and resizing https://avatars2.githubusercontent.com/u/20671846?v=4 could save 52.9KiB (98% reduction).
Compressing and resizing https://avatars3.githubusercontent.com/u/4788817?v=4 could save 28.8KiB (97% reduction).
Compressing and resizing https://avatars3.githubusercontent.com/u/1163358?v=4 could save 27.9KiB (97% reduction).
Compressing and resizing https://avatars2.githubusercontent.com/u/773158?v=4 could save 22.6KiB (97% reduction).
Compressing and resizing https://avatars2.githubusercontent.com/u/2547751?v=4 could save 22.4KiB (97% reduction).
Compressing and resizing https://avatars0.githubusercontent.com/u/1013337?v=4 could save 22KiB (97% reduction).
Compressing and resizing https://avatars1.githubusercontent.com/u/10523232?v=4 could save 16.6KiB (96% reduction).
Compressing and resizing https://avatars3.githubusercontent.com/u/15680836?v=4 could save 5.2KiB (93% reduction).

@rmariuzzo
Copy link
Member

Here we need to identify if GitHub avatars support resizing. Otherwise, improving this may require additional work.

@rmariuzzo
Copy link
Member

Looks like we can use the query string s to do resizing:

<img alt="@rmariuzzo" class="timeline-comment-avatar" height="44" src="https://avatars0.githubusercontent.com/u/439839?s=88&amp;v=4" width="44">

@raylinanthony
Copy link
Author

Amazing!, I'm looking that you realized a good job, Thanks. That's the better solution for improving web performance. Congratulations!

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

2 participants