top-gg / issues

Report bugs related to Top.gg. For feature requests: https://feedback.top.gg
35 stars 13 forks source link

Use larger CDN image size instead of 128px #587

Open ChillFish8 opened 3 years ago

ChillFish8 commented 3 years ago

Issue

Currently the CDN avatars are loaded at 128px, this is fine for the default theme however this puts a large limit on customisability especially if you want to spice up your bot page with a bigger icon etc...

For this i would suggest the following:

Example of where it causes issues: On bot page with the image size scaled to fit nicer, set to 256px h/w Example of where it causes issue for quality (128px)

Example of where it causes issues: On bot page with the image size scaled to fit nicer, set to 256px h/w manually changed quality Example of what it should be for quality (256px)

Other potential or existing solutions

Currently i think the only maybe possible way to fix this is by spoofing the CSS of the image itself in order to override it with a new source, this is a pretty bad idea though as it's just yet another image to load and let go wrong when the css changes or gets funky.

velddev commented 3 years ago

Yep, big agree here. I'll see what I can do soon