Hal-5700X to Fediverse@lemmy.worldEnglish • 22 days agoLemmy v0.19.4 Release - Image Proxying and Federation improvementsjoin-lemmy.orgmessage-square22fedilinkarrow-up1175arrow-down12 cross-posted to: meta@lemy.lolmetalemmy@lemmy.mlannouncements@lemmy.mlfediverse@lemmy.zip
arrow-up1173arrow-down1external-linkLemmy v0.19.4 Release - Image Proxying and Federation improvementsjoin-lemmy.orgHal-5700X to Fediverse@lemmy.worldEnglish • 22 days agomessage-square22fedilink cross-posted to: meta@lemy.lolmetalemmy@lemmy.mlannouncements@lemmy.mlfediverse@lemmy.zip
minus-square@taaz@biglemmowski.winlinkfedilinkEnglish6•22 days agoOh interesting I will have to look how tessaract does it
minus-squareAdmiral PatricklinkfedilinkEnglish5•edit-222 days 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.
Oh interesting I will have to look how tessaract does it
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.