this post was submitted on 24 Dec 2023
1 points (100.0% liked)

Fedia Discussions

1 readers
5 users here now

founded 1 year ago
MODERATORS
 

Uploading GIFs on this site has been hit-or-miss for the few months I've been here, but where they used to fail with an error page a while back, the GIF is now quietly discarded from the thread. Posting GIFs to this instance is broken from kbin.social as well (where the whole post fails) so it's not a front-end issue.

top 5 comments
sorted by: hot top controversial new old
[–] jerry@fedia.io 1 points 9 months ago (1 children)

How large are the gifs you're posting? So far, my test uploads have been successful and I'm not able to get it to fail...

[–] iamnomad@fedia.io 1 points 9 months ago (1 children)

@jerry@fedia.io They range from 2.7 to 9.1 MB, though looking at the ones that did post successfully, they seem to be less than 5 MB. I think I ran into a size limit.

[–] jerry@fedia.io 2 points 9 months ago (1 children)

That gives me something to go on. Thank you.

[–] e-five@kbin.run 1 points 9 months ago

As a note, TheVillageGuy was also looking into this in the past https://github.com/MbinOrg/mbin/pull/95#issuecomment-1774097530

As the diff mentions the default max size is 6MB and 5s upload timeout. While php.ini declares 10MB defaults. It's a bit weird they don't match, but there's probably followup on 1. allowing instance owners to configure the size of images they are ok with hosting 2. maybe more research into what other platforms allow, there's a lot of discussion about thumbnails and the sort since remote instances cache things themselves, and broken thumbnails make things look like they aren't working across the fediverse

[–] jerry@fedia.io 1 points 9 months ago

thanks - I wasn't aware of the issue. I will try to figure out why.