Hal-5700X@sh.itjust.works to Fediverse@lemmy.worldEnglish · 7 months agoLemmy v0.19.4 Release - Image Proxying and Federation improvementsjoin-lemmy.orgmessage-square36fedilinkarrow-up1177arrow-down12
arrow-up1175arrow-down1external-linkLemmy v0.19.4 Release - Image Proxying and Federation improvementsjoin-lemmy.orgHal-5700X@sh.itjust.works to Fediverse@lemmy.worldEnglish · 7 months agomessage-square36fedilink
minus-squareAdmiral Patrick@dubvee.orglinkfedilinkEnglisharrow-up5·edit-27 months 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.
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.