this post was submitted on 24 Mar 2024
11 points (92.3% liked)

/0

1560 readers
2 users here now

Meta community. Discuss about this lemmy instance or lemmy in general.

Service Uptime view

founded 1 year ago
MODERATORS
 

[Bug] Gifs don't upload on the instance

I tried to upload a gif but I get this error message when doing so:

{"data":{"msg":"Failed external validation","files":null},"state":"success"}

I can upload any other type of image but gifs always fail for some reason.
Does anyone have any clue what could be going wrong? There's obviously something wrong with pictrs but I'm not sure what.

@div0

Mentioning admins for visibility
@Db0
@RandomLegend @Flatworm7591

#error #lemmy #support #db0 #dbzer0

top 11 comments
sorted by: hot top controversial new old
[–] db0@lemmy.dbzer0.com 10 points 7 months ago (1 children)

We don't support uploading gifs due to space requirements

[–] WeirdGoesPro@lemmy.dbzer0.com 1 points 7 months ago (1 children)
[–] db0@lemmy.dbzer0.com 3 points 7 months ago (1 children)

I eagerly expect your donation then 😁

[–] WeirdGoesPro@lemmy.dbzer0.com 3 points 7 months ago (1 children)

Grrrl, you know I’ve already signed up for a recurring donation every month from now until the end of time. I’m along for the ride until the wheels fall off!

[–] db0@lemmy.dbzer0.com 3 points 7 months ago (2 children)

Hah, thanks! Hmm, it's actually a potential idea, to add a whitelist for people who can upload gifs if they're supporters. I'll have to see how I could do that

[–] WeirdGoesPro@lemmy.dbzer0.com 3 points 7 months ago

I promise, I would use that power very irresponsibly. You can count on me!

[–] Draconic_NEO@pawb.fun 1 points 7 months ago (1 children)

@db0 @WeirdGoesPro would probably require modifying Lemmy to be able to do it unfortunately, and that's hard because of the Lemmy Devs' weird insistence on using rust.

[–] db0@lemmy.dbzer0.com 1 points 7 months ago

I'm already in talks with the pict-rs dev to provide me a necessary feature. If they do it, I will hack the lemmy source myself to achieve it.

[–] WeirdGoesPro@lemmy.dbzer0.com 8 points 7 months ago* (last edited 7 months ago)

Can confirm. Linking gifs, however, works just fine.

meme about gifs

[–] teft@lemmy.world 2 points 7 months ago

I’m not sure any lemmy instance hosts gifs. Most upload and then convert to gifv but even that is shit since it doesnt inline the gif but instead puts it in a player. Best is just to hotlink the gif from a hosting site like imgur.

[–] lemann@lemmy.dbzer0.com 1 points 7 months ago

Do any gifs work for you?

My assumption would be that the content scanner developed by our instance admin doesn't support gifs (or media with multiple frames). Uploading them to another image host would probably be the solution here IMO

https://github.com/db0/fedi-safety/issues/12