# 搜索图片（或PDF或其他附件类型）的选项

**URL:** <https://meta.discourse.org/t/option-to-search-for-images-or-pdfs-or-other-attachment-types/280426>\
**Category:** Feature\
**Created:** [2023 年9 月 28 日 14:02 UTC](https://meta.discourse.org/t/option-to-search-for-images-or-pdfs-or-other-attachment-types/280426 "2023-09-28T14:02:54Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)\
**Post date:** [2023 年9 月 28 日 14:10 UTC](https://meta.discourse.org/t/option-to-search-for-images-or-pdfs-or-other-attachment-types/280426/2 "2023-09-28T14:10:11Z")

</div>

您不能将结果作为图片库返回，但可以搜索包含具有特定扩展名的上传内容的帖子。

在搜索字段中键入 `filetypes:pdf` 🙂  
例如，您可以搜索多个文件扩展名，如 `filetypes:pdf,png,mp3`。

它不能直接从高级搜索表单中找到，而是在此处找到：

> [@Searching for content effectively](https://meta.discourse.org/t/search-tips-and-tricks/273328?u=canapin):
>
> bookmark This guide provides a comprehensive overview of Discourse’s search capabilities, including filters, options, and advanced techniques. person_raising_hand Required user level: All users Discourse offers a powerful search functionality with numerous filters and criteria. When you use the advanced search form, it automatically appends the relevant syntax to your query. For example, selecting [x] In my messages will add in:personal to your search query. This guide covers all availa…

---

_[View the full topic](https://meta.discourse.org/t/option-to-search-for-images-or-pdfs-or-other-attachment-types/280426)._
