# 需要帮助：如何在本地实例中托管背景图片

**URL:** https://meta.discourse.org/t/need-help-on-hosting-a-background-image-in-our-on-premise-instance/289830
**Category:** Support
**Created:** [2023年十二月27日 04:21 UTC](https://meta.discourse.org/t/need-help-on-hosting-a-background-image-in-our-on-premise-instance/289830 "2023-12-27T04:21:09Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [2023年十二月28日 02:08 UTC](https://meta.discourse.org/t/need-help-on-hosting-a-background-image-in-our-on-premise-instance/289830/5 "2023-12-28T02:08:18Z")

</div>

> [@Srujan\_Madderla](#):
>
> 我们需要链接应放置在我们服务器上的步骤/命令/路径。

在私信或类似#staff的类别中创建一个帖子，并在帖子中包含所需的图片。这将把图片上传到Discourse并使其可用。在生成的帖子中，您可以右键单击图片以获取其上传的URL。

您还可以创建一个主题组件，将图片作为资源包含在内。为此，您需要遵循类似 [Include assets (e.g. images, fonts) in themes and components](https://meta.discourse.org/t/include-assets-e-g-images-fonts-in-themes-and-components/62459) 的方法。

---

_[View the full topic](https://meta.discourse.org/t/need-help-on-hosting-a-background-image-in-our-on-premise-instance/289830)._
