Post
Remote status
Context
10btw pleroma-fe will by now automatically compress image uploads, so at least if people use that we won't get those 20mb pngs anymore...
https://github.com/Yonle/go-bwhero/blob/master/API.md
@lain as the result, i made a patch where avatar, and cover/banner is using the compressed version since it’s no use to put 540x540 image in such small <img>, and then disable preloading & make <video> to show thumbnail instead. This has reduced my bandwidth & our users since then.
@lain in akkoma, i made attachment.akkoma.media.avatar_preview and attachment.akkoma.media.header_preview. The same can be done on pleroma too but if that’s the case, then i will make some breaking changes between both backend. Let’s see.
Looking into hosting. Learning. Still lost. But that's ok for now. I was looking into fe, seems to have changed names?
https://codeberg.org/mkljczk/nicolex
On the note of images:
(I'm self taught, new, & may have misconceptions)
Can you use reverse proxy & intercept the url to only display the compressed images?
For full resolution could you setup an api? Have clients that respect this api call download full res?
I need to read more and learn pleroma.
I hope this wasn't just bad noise.
Replies
0Fetching replies…