# 所有上传图片的水印

**URL:** <https://meta.discourse.org/t/watermark-on-all-upload-images/174534>\
**Category:** Feature\
**Created:** [2020年十二月29日 20:39 UTC](https://meta.discourse.org/t/watermark-on-all-upload-images/174534 "2020-12-29T20:39:37Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![Heliosurge](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/heliosurge/32/571810_2.png) [@Heliosurge](https://meta.discourse.org/u/Heliosurge)\
**Post date:** [2024年三月1日 18:08 UTC](https://meta.discourse.org/t/watermark-on-all-upload-images/174534/10 "2024-03-01T18:08:46Z")

</div>

这个挺酷的。你可能也会对这个 #Customization > Theme component 感兴趣：

> [@Discourse 网页水印](https://meta.discourse.org/t/discourse-web-page-watermark/214108):
>
> 此主题组件将水印添加到页面。 可以添加以下任何信息： 一条简短的文本消息 当前登录的用户名 页面渲染的时间戳 几个设置允许自定义水印的渲染方式和时间： show\_watermark\_in\_background：如果启用，将在页面上生成并显示水印。 scroll\_enabled：如果启用，水印将随页面滚动。 only\_in\_categories：应显示水印的类别列表。 except\_in\_categories：不应显示水印的类别列表。 only\_in\_tags：应显示水印的标签列表。 except\_in\_tags：不应显示水印的标签列表。 if\_site\_title\_matches：仅当站点标题与此正则表达式匹配时才显示水印。有关用例，请参阅 [Discourse Web Page Watermark - #5 by pfaffman](https://meta.discourse.org/t/discourse-web-page-watermark/214108/5?u=megothss) 。 or\_if\_url\_matches：或如果 URL 匹配列表中的任何正则表达式，则显示水印。请注意，测试的 URL 不包含主机名。 tile\_width: 包含水印信息的图块的宽度（以像素为单…

---

_[View the full topic](https://meta.discourse.org/t/watermark-on-all-upload-images/174534)._
