كيف يمكنني جعل صورة GIF هي الصورة المصغرة المضمنة في موضوع/منشور

I was wondering how this can be done, I’ve seen it on other Discourse communities, was wondering how I can also do this on my local Discourse instance. I basically want it so the GIF will automatically play.

You want this Theme Component:

إعجاب واحد (1)

Yeah I have that installed, my problem is I want the GIF to play as a post/topic thumbnail, was wondering if that’s possible?

zach dorsey GIF

This is how it works out of the box: it’s animated.

What’s the issue?

إعجابَين (2)

Like would it be possible to have a playable GIF next to the topic?

so what was missing in your description of the problem was “Topic List”. :smiley:

this might be possible but you’d need to use a Theme Component to expose the Topic’s image url.

And I believe it would only pick it up if it was in the OP.

:biohazard: This would really slow down the loading of Topic List. :biohazard:

Ahh, what theme component do you recommend?

I wouldn’t recommend doing this, because it is not scalable.

You would have to build this yourself. It’s not that hard, good learning exercise.

إعجاب واحد (1)

Would it be hard to build?

إعجابَين (2)

There would be a learning curve to begin with but this project would be a good first project.

Read more here: Beginner's guide to developing Discourse Themes

Go for it then share your solution with the community!

إعجاب واحد (1)