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

Avatar's size is too large and slow to load #112

Open
geekeren opened this issue Jun 24, 2019 · 1 comment
Open

Avatar's size is too large and slow to load #112

geekeren opened this issue Jun 24, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@geekeren
Copy link

geekeren commented Jun 24, 2019

The avatar loaded very very slowly, and I found the size with 2048x2048 may be very unnecessary.

image

<img src="https://www.gravatar.com/avatar/0?s=2048&amp;d=mp" alt="Generic avatar" />

It shows the avatar takes up 3.5 MB!

image

I suggested to set the size to 128 x 128

@sergiitk
Copy link
Owner

Thank you for the feedback @geekeren. I used the larger image possible because PagerBeauty is supposed to be scalable.
You're right, 2048x2048 feels like an overkill. However, I think 128x128 is too small too.
The best way to go would be making it configurable. I'll do that, and set a more sensible default resolution.

@sergiitk sergiitk added the enhancement New feature or request label Jun 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants