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

[CDN] Resize images #202

Open
SamuelScheit opened this issue Jan 5, 2021 · 3 comments
Open

[CDN] Resize images #202

SamuelScheit opened this issue Jan 5, 2021 · 3 comments
Labels
Enhancement New feature or request Module: CDN
Milestone

Comments

@SamuelScheit
Copy link
Member

To reduce the size of the images to load on the client, resize the images to fit the screen resolution.

@xNaCly
Copy link
Member

xNaCly commented Jan 25, 2021

rust? c++?
microservice architecture

@Stilic
Copy link
Contributor

Stilic commented May 20, 2021

i have found some libraries for change the image size:
https://www.npmjs.com/package/node-image-resizer
https://sharp.pixelplumbing.com/

@xNaCly xNaCly changed the title [Feature] Resize images Resize images Aug 10, 2021
@SamuelScheit SamuelScheit transferred this issue from another repository Aug 12, 2021
@SamuelScheit SamuelScheit added Module: CDN Enhancement New feature or request labels Aug 12, 2021
@SamuelScheit SamuelScheit added this to the Milestone V2 milestone Sep 19, 2021
@DiegoMagdaleno DiegoMagdaleno changed the title Resize images [CDN] Resize images Oct 9, 2021
@DiegoMagdaleno DiegoMagdaleno modified the milestones: Milestone V2, Discord Extension Oct 9, 2021
@SamuelScheit SamuelScheit added Enhancement New feature or request and removed Fosscord-Core labels Oct 11, 2021
@TheArcaneBrony
Copy link
Member

TheArcaneBrony commented Dec 26, 2021

Discord.com does this by url parameters:
<attachment url>?width=251&height=354
<icon/avatar url>?size=124

@SamuelScheit SamuelScheit removed their assignment Jan 30, 2022
@xNaCly xNaCly removed their assignment Mar 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request Module: CDN
Projects
None yet
Development

No branches or pull requests

5 participants