this post was submitted on 30 Nov 2025
9 points (100.0% liked)

Feddit UK

1667 readers
22 users here now

Community for the Feddit UK instance.
A place to log issues, and for the admins to communicate with everyone.

founded 2 years ago
MODERATORS
 

I have been trying to upload an animated WEBP file to use as part of a post, however I get an error that says the file is "too wide".

{"data":{"files:null,"msg":"Too wide"},"state":"success"

The file in question has a resolution of 889x500, and a file size of only 3 MiB. Is this a problem with feddit.uk's image upload settings specifically, or is there a general issue with Lemmy and pict-rs?

top 4 comments
sorted by: hot top controversial new old
[–] flamingos@feddit.uk 3 points 2 months ago

There is a pictrs setting to set max width and height for the different thing it supports (images, video and animation). I haven't touched the settings myself. I'll take a look in the morning and probably just disable them if they're set. I don't really see a good reason to limit dimensions, size is the maintenance burden.

[–] flamingos@feddit.uk 2 points 2 months ago (1 children)

Should work now, it was set to only allow 256×256 animations. The only limit now is the 5 MiB size limit. Example animated webp:

Short animation showing a red-haired woman using a screwdriver on a small, blinking robot.

[–] heythatsprettygood@feddit.uk 2 points 2 months ago

Perfect, thank you so much.

[–] tetris11@feddit.uk 2 points 2 months ago

Finally! I was getting the same error too