# 跨帖发布的 WordPress 帖子中的图片在发布后消失

**URL:** https://meta.discourse.org/t/images-from-crossposted-wordpress-posts-disappearing-post-publishing/203933
**Category:** WordPress
**Created:** [2021年九月19日 02:29 UTC](https://meta.discourse.org/t/images-from-crossposted-wordpress-posts-disappearing-post-publishing/203933 "2021-09-19T02:29:07Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![oreillyc](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/oreillyc/32/212955_2.png) [@oreillyc](https://meta.discourse.org/u/oreillyc)
#### Post date: [2021年九月19日 02:29 UTC](https://meta.discourse.org/t/images-from-crossposted-wordpress-posts-disappearing-post-publishing/203933/1 "2021-09-19T02:29:07Z")

</div>

你好，

不知何故，通过 WP-Discourse 插件跨平台发布的论坛图片最初显示正常，但随后会消失，如下所示：

> **[Sociocracy in Small Groups](https://forums.sociocracyforall.org/t/sociocracy-in-small-groups/1176)**
>
> Originally published at: Sociocracy in Small Groups - Sociocracy For All Introduction Whether small groups can use sociocracy in a meaningful way in small organizations is a recurring topic with my clients and students. This article is an...

有任何线索吗！？

谢谢！  
CJ

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [2021年九月19日 15:34 UTC](https://meta.discourse.org/t/images-from-crossposted-wordpress-posts-disappearing-post-publishing/203933/2 "2021-09-19T15:34:34Z")

</div>

这与该问题相同吗？

> [@Markdown rendering issue with image surrounded with HTML](https://meta.discourse.org/t/markdown-rendering-issue-with-image-surrounded-with-html/152801):
>
> Related to [Thumbnail generation & markdown rendering issue](https://meta.discourse.org/t/thumbnail-generation-markdown-rendering-issue/152701) When discourse downloads and replaces an image HTML with its markdown syntax – in our context, this results as: [...]\<a href="\<link\_here\>" target="\_blank"\>![|150x150](upload://l0iarnA6SPVAyJN5l7pnQxZnPvE.jpeg)\</a\>[...] Discourse is unable to render the image play_button Image To fix the issue, you need at least an empty line above: [...]\<a href="\<link\_here\>" target="\_blank"\> ![|150x150](upload://l0iarnA6SPVAyJN5l7pnQxZnPvE.jpeg)\</a\>[...]play_button Im…

似乎尚未有解决方案，但或许值得一读？

---

<div class="post-metadata">

### Author: ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)
#### Post date: [2021年九月22日 00:15 UTC](https://meta.discourse.org/t/images-from-crossposted-wordpress-posts-disappearing-post-publishing/203933/3 "2021-09-22T00:15:40Z")

</div>

嘿 @oreillyc，是的，这里的问题很可能就是 @JammyDodger 所链接的那个。不过有一个解决方案。请将您的 WordPress 域名添加到 Discourse 站点设置中的“禁用图片下载域名”中。这将防止该问题再次发生。

---

<div class="post-metadata">

### Author: ![oreillyc](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/oreillyc/32/212955_2.png) [@oreillyc](https://meta.discourse.org/u/oreillyc)
#### Post date: [2021年九月29日 01:53 UTC](https://meta.discourse.org/t/images-from-crossposted-wordpress-posts-disappearing-post-publishing/203933/4 "2021-09-29T01:53:29Z")

</div>

看起来确实如此 🙂

---

<div class="post-metadata">

### Author: ![oreillyc](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/oreillyc/32/212955_2.png) [@oreillyc](https://meta.discourse.org/u/oreillyc)
#### Post date: [2021年九月29日 01:53 UTC](https://meta.discourse.org/t/images-from-crossposted-wordpress-posts-disappearing-post-publishing/203933/5 "2021-09-29T01:53:44Z")

</div>

太棒了，我会去看看的——谢谢！🙂

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [2021年十月29日 01:54 UTC](https://meta.discourse.org/t/images-from-crossposted-wordpress-posts-disappearing-post-publishing/203933/6 "2021-10-29T01:54:05Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
