# 漏洞报告：Discourse 自动化中的“自动标签话题”——链接检测无法工作，Onebox 触发图片

**URL:** <https://meta.discourse.org/t/bug-report-auto-tag-topic-in-discourse-automation-link-detection-not-working-onebox-triggers-image/366784>\
**Category:** Product Support\
**Tags:** automation\
**Created:** [2025 年5 月 20 日 01:14 UTC](https://meta.discourse.org/t/bug-report-auto-tag-topic-in-discourse-automation-link-detection-not-working-onebox-triggers-image/366784 "2025-05-20T01:14:42Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

作者： ![copymonopoly](https://avatars.discourse-cdn.com/v4/letter/c/4491bb/32.png) [@copymonopoly](https://meta.discourse.org/u/copymonopoly)\
发布日期： [2025 年5 月 20 日 16:02 UTC](https://meta.discourse.org/t/bug-report-auto-tag-topic-in-discourse-automation-link-detection-not-working-onebox-triggers-image/366784/3 "2025-05-20T16:02:16Z")

</div>

🟢 **更新（已解决）**  
`link` 条件现在可以正常工作了——我的问题是由于标签限制仅限于某些类别。

另外，我发现 Oneboxes 和图片链接都会触发 `link` 和 `image` 条件。  
我希望能够区分上传的图片和图片链接，以便 `image` 标签仅针对上传的图片触发。

这种区分很重要，因为有些插件（例如 **Topic List Previews** ）只为上传的图片生成预览缩略图，而不为外部图片链接生成。

---

_[View the full topic](https://meta.discourse.org/t/bug-report-auto-tag-topic-in-discourse-automation-link-detection-not-working-onebox-triggers-image/366784)._
