- cross-posted to:
- memes@lemmy.ml
- cross-posted to:
- memes@lemmy.ml
I’ve been trying to post gifs, but the experience changes from mobile to desktop. Sometimes it appears and plays properly, sometimes it doesnt. Is there a best-practice that I should get used to for formatting, or is there a reliable image hoster that supports it in a way thats compatible with Lemmy?
It’s displaying fine here on Liftoff.
- Liftoff
- Animated in feed view
- Animated in single-post view
- Animated in image view.
- Jerboa:
- Static in feed view
- Static in single-post view
- Animated in image view
- Voyager PWA in Firefox on Android via m.lemmy.world:
- Animated in feed view
- Animated in single-post view
- Animated in image view
- Mobile PWA in Firefox on Android via lemmy.world, v0.18.2
- Animated in feed view
- Animated in single-post view
- Animated in image view.
- Firefox desktop via lemmy.world, v0.18.2
- Animated in feed view
- Animated in single-post view
- Animated in image view.
Seems like it’s working pretty well overall. Jerboa is the outlier, but you CAN see the animation if you click into it.
Thank your for this!
Thank you for taking the time to be so thorough! I’m on Connect, and Firefox for Android & Pc, all work just fine. I’m sure overall support will be better once Lemmy is more fleshed out, but it seems different instances even handle gifs in their own way.
Connect for Lemmy by Kurononeko? Is that open source, or only available in the android store?
I’m not entirely sure, but his official Lemmy community links to the Plays store and APK Pure
Hi there! Looks like you linked to a Lemmy community using a URL instead of its name, which doesn’t work well for people on different instances. Try fixing it like this: !lemmyconnect@lemmy.ca)
I tried that, but doing so causes it to redirect to “https://lemmy.world/comment/!lemmyconnect@lemmy.ca”
- Liftoff
From lemmy.world I see it animated in every place:
- Thumbnail on homepage
- Thumbnail on the post page
- Expanded image
EDIT: Forgot to specify: desktop, win10, firefox
The image was animating on lemmy.world, but on programming.dev, I only see a static image.
Weird, it looks like it got converted to a .webm file when you view it from programming.dev
oh, the direct link from imgur works fine I guess
The frustrating answer is that each frontend will handle animated images differently, so you just kind of have to cope with that.
On the desktop website, there are two options to get animation working:
- Post a video format like webm instead – upside: just works downside: doesn’t loop
- Do a text-post with only the animated image – upside: loops, supports alt-text downside: worse mobile experience
Animated WebP images will loop, at least 95% of web browsers in use today support it.
It didn’t work when I tried it: https://lemmy.sdf.org/post/853240
If you inspect the source, you can see that a PNG thumbnail was automatically extracted from the webp and used for the expando image, even though the link source points to an animated webp.
Strange, I’ve posted animated WebPs (on another account) and they worked as you’d expect. Perhaps it’s a setting or some other kind of version difference between instances?
Well, it’s not a frontend thing as far as I can tell because the expando also uses the thumbnail image when viewed on lemmy.world. I’m aware of some instances (e.g.: blind, lemmynsfw, etc.) that use a forked UI which might explain the discrepancy – is it possible that the post you’re referring to was hosted on one of those?
Otherwise, there’s something going on at thumbnail creation time, possibly a bug, which I’d like to research further. Could you share an example post where the expando image was an animated webp? It doesn’t have to be one of your own posts, of course, assuming you’re worried about creating a papertrail to your alt account.
I’ve just posted a WebP to a random test community I found: https://lemmy.world/post/1486008
For me, I can see it animated in the thumbnail and the expanded post both on lemmy.world and the mobile apps I use (Voyager/wefwef, and Liftoff).
Interesting! I tried uploading the same image and it became static (link). I think that seals it – definitely a backend issue. The question remains as to why that’s happening, but it’s definitely tied to something about the configuration of the user’s home instance. Credit where it’s due: exactly as you’ve suggested
Your image appears static for me too!
Credit where it’s due
I’m a developer by trade, we tend to have relatively accurate hunches about these things haha
Hopefully this is something that can be fixed (or at least toggled per-user) soon.
On Db0, it got converted into a Webp (No animation)