server icon indicating copy to clipboard operation
server copied to clipboard

[CDN] Resize images

Open samuelscheit opened this issue 5 years ago • 4 comments

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

samuelscheit avatar Jan 05 '21 14:01 samuelscheit

rust? c++? microservice architecture

xnacly avatar Jan 25 '21 18:01 xnacly

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

stilic avatar May 20 '21 08:05 stilic

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

TheArcaneBrony avatar Dec 26 '21 18:12 TheArcaneBrony

Current status: supported by the C# CDN's workers - CDN routing still pending

TheArcaneBrony avatar Apr 18 '26 00:04 TheArcaneBrony