TomNCatz / obsidian-gallery

Main Gallery to tag / filter / add notes to images. Display blocks to embed images inside notes. Display block to an image information
MIT License
41 stars 3 forks source link

[bug] Some GIF images cannot be displayed in the image management interface #4

Closed wwjCMP closed 1 year ago

wwjCMP commented 1 year ago

Some GIF images cannot be displayed in the picture management interface, while others can. I can't find a pattern among them.

TomNCatz commented 1 year ago

Can't be displayed at all or don't play when displayed? And is this in the main gallery or block gallery? (for the most part they should be the same, but the active thumbs setting in the block gallery uses some svelte cod that I don't have as much control over) If you have an example file that does not work(and you don't mind sharing it) it would help me to troubleshoot the issue.

wwjCMP commented 1 year ago

646545C.mp4_1640746337414 。 I found the reason. Some GIFs are screenshots from videos, and they have video file extensions like .mp4 in their names. This is why the plugin is recognizing them as videos. LOL.

TomNCatz commented 1 year ago

That's a bug alright. I probably messed up my regex somewhere. Thank you for the info!