fix: skip inaccessible images to avoid build failure (#1301)

* skip inaccessible images to avoid build failure

* undo changes to $result and $local

* fix: initialize $resource as a dictionary instead of an empty string

* feat: add external image processing timeout configuration

---------

Co-authored-by: Jimmy Cai <jimmy@cai.im>
This commit is contained in:
lijin
2026-03-08 13:18:21 +01:00
committed by GitHub
co-authored by Jimmy Cai
parent f13c478718
commit 0c941ebb04
2 changed files with 12 additions and 4 deletions
+3
View File
@@ -77,6 +77,9 @@ SortBy = "default"
[imageProcessing]
autoOrient = false
[imageProcessing.external]
timeout = "5s"
[imageProcessing.content]
widths = [800, 1600, 2400]
enabled = true