🚨‼️❓ I have an important question: I am running Mitra through Nginx on Debian. Is there some way to configure things in such a way as to automatically resize and optimize images uploaded to this instance? E.g., change size/dimensions strip meta/EXIF data, etc.? I want to share images on here, but I don't want to start consuming large quantities of storage. On my computer I can always change an image's size and optimize it for web upload, but I can't readily do that on my phone. And, it would be super convenient to just have my server do it automatically to media uploads. I feel like there should be some method by which this can be accomplished, I just don't know how.
Conversation
Notices
-
Embed this notice
👺防空識別區👹 (adiz@mtl.jinxian.casa)'s status on Friday, 21-Mar-2025 10:01:26 JST 👺防空識別區👹
- Johnny Peligro likes this.
-
Embed this notice
silverpill (silverpill@mitra.social)'s status on Friday, 21-Mar-2025 23:42:28 JST silverpill
@adiz I think it is not possible. The only way is to implement transcoding in Mitra.
-
Embed this notice
silverpill (silverpill@mitra.social)'s status on Sunday, 23-Mar-2025 02:44:19 JST silverpill
@adiz Maybe it could be accomplished with nginx modules. I found one that allegedly can resize images on the fly.
>but I can't readily do that on my phone
Why? I never used those apps, but they are available even on F Droid
-
Embed this notice
👺防空識別區👹 (adiz@mtl.jinxian.casa)'s status on Sunday, 23-Mar-2025 02:44:20 JST 👺防空識別區👹
@silverpill I thought perhaps this could be facilitated with Nginx or something.