pagerbeauty
pagerbeauty copied to clipboard
Avatar's size is too large and slow to load
The avatar loaded very very slowly, and I found the size with 2048x2048
may be very unnecessary.
https://github.com/sergiitk/pagerbeauty/blob/3416af7a6055016e209a905fa5f2882012f7c617/src/assets/javascripts/views/OnCallViews.jsx#L261
It shows the avatar takes up 3.5 MB!
I suggested to set the size to 128 x 128
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.