|
|
| Perl: the Markov chain saw | |
| PerlMonks |
Re^3: Larger profile pic than 80KB? (Updated)by cavac (Prior) |
| on Oct 20, 2023 at 14:04 UTC ( [id://11155105]=note: print w/replies, xml ) | Need Help?? |
|
Of course, you are right. 80kB is quite a low limit these days. But even modern up-to-date web platforms have relatively low limits on profile pictures that are hard to match with a modern phone camera without editing. For example, Mastodon has 2MB with a max size of 400x400, mostly to reduce network traffic and server storage. Every time a user looks into their timeline, the browser has to fetch all profile images from every user displayed in the timeline. A server might have to store hundred, thousands or (if the platform takes off) maybe even millions of profile pictures. I think most of the bigger websites these days do (at least) the cropping on client side. It's the stuff where you "upload" a picture of your face and then it asks you to resize and position it so your face fills the rectangle or circle. This, too, saves on network traffic and a huge amount of server load. An alternative/addition could even be some kind of avatar generator for those monks that don't like to upload a real photo. Something like this one.
PerlMonks XP is useless? Not anymore: XPD - Do more with your PerlMonks XP
In Section
Perl Monks Discussion
|
|
||||||||||||||||||||||||||||||||||