I’ve noticed that on Lemmy there aren’t really any videos/gifs as I scroll. I just see post titles, links, or images.
Is there a reason videos and gifs aren’t showing up on my feed?
I’ve noticed that on Lemmy there aren’t really any videos/gifs as I scroll. I just see post titles, links, or images.
Is there a reason videos and gifs aren’t showing up on my feed?
I love that lol.
Is there somewhere in the docs that explains how to configure your instance to compress images like that?
hehe
The Lemmy docs are kind of lacking admittedly but you can configure image compression through
pict-rs
. You can find all the environment variables you can use here.My
docker-compose.yml
file includes this:pictrs: image: asonix/pictrs:0.4.0-rc.9-linux-arm64v8 environment: - PICTRS__MEDIA__PREPROCESS_STEPS=resize=1000 - PICTRS__MEDIA__MAX_FILE_SIZE=8 - PICTRS__MEDIA__MAX_WIDTH=10000 - PICTRS__MEDIA__MAX_HEIGHT=10000 - PICTRS__MEDIA__FORMAT=webp
Thanks a ton!