Closed Libberator closed 7 months ago
okay, I solved it after testing some more things. Interestingly, I didn't run into this issue with my previous jekyll template. As a workaround hack, I just modified the config.toml
with
timeout = 180
so that it had enough time to process the larger files. But that's not a good long-term solution and I'll need to decrease my file sizes by a lot. Thanks for being a rubber ducky, bug ticket.
EDIT: For anyone running into the same issue, convert your gifs to .webm format (it reduced a 15MB down to 450KB, keeping quality) and add this hugo-video shortcode to your submodules so that you can embed webm videos.
What happened?
I have some large .gif files I'd like to embed in my blog. And I'm using the following markdown syntax:
Yes, the file exists and is in the correct folder; no silly mistakes on my part. It works for .png files no problem. But while the build action is running
hugo --minify --gc
, it will encounter errors (see the logs).UPDATE: Okay, I've tested it on a GIF that is 1.33MB and 17MB by theirself and they work. But when I test my larger gifs (24MB), it breaks. Will it support larger gif embeddings or is there another way to accomplish that? ...I guess I should make them smaller or just post a link to them in the meantime.
Hugo version
0.125.4
Theme version
3.25
What browsers are you seeing the problem on?
No response
More information about the browser
No response
Relevant log output
Link to Minimal Reproducible Example
.