▲ 173 ▼ Lemmy v0.19.4 Release - Image Proxying and Federation improvements (join-lemmy.org) submitted 2 years ago by hal_5700X@sh.itjust.works to c/fediverse@lemmy.world 24 comments fedilink hide all child comments
[–] taaz@biglemmowski.win 6 points 2 years ago (1 child) Oh interesting I will have to look how tessaract does it permalink fedilink source parent hideshow 2 child comments replies: [–] ptz@dubvee.org 5 points 2 years ago* https://github.com/asimons04/tesseract/blob/1.4.0/src/lib/image-proxy.ts https://github.com/asimons04/tesseract/blob/1.4.0/src/server/image-proxy.ts And anywhere it renders an image (markdown, posts, avatars/icons, banners, etc), the image source is set via imageProxyURL(url). There's extra optional params for size and format if the image source is served by pict-rs. permalink fedilink source parent
[–] ptz@dubvee.org 5 points 2 years ago* https://github.com/asimons04/tesseract/blob/1.4.0/src/lib/image-proxy.ts https://github.com/asimons04/tesseract/blob/1.4.0/src/server/image-proxy.ts And anywhere it renders an image (markdown, posts, avatars/icons, banners, etc), the image source is set via imageProxyURL(url). There's extra optional params for size and format if the image source is served by pict-rs. permalink fedilink source parent