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?

all 4 comments

sorted by: hot top controversial new old
[–] 2 points 11 months ago (1 child)

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.

  • source
  • hideshow 1 child comment
  • [–] 3 points 11 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.

  • source
  • [–] 2 points 11 months ago

    Finally! I was getting the same error too

  • source