This commit should fix the issue. https://github.com/paviliondev/discourse-image-filter/commit/69c3c65eedfdac4be7bc55b8b537bf7956af0fa4