# Thumbnails

Looking to upgrade the visual appeal of your document gallery? We've got you covered! In this guide, we'll walk you through the process of replacing standard file icons with eye-catching thumbnails in your gallery using FileBird Document Library.

For instance, learn how to showcase the first page of a PDF as a thumbnail image in your document gallery.

1. While setting up the Document shortcode, ensure that the 'Show thumbnails' option is enabled in this step.

<figure><img src="https://3041978267-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyIWF9CNHLQhdztdjt8Uo%2Fuploads%2Fw6Y0puirFBUr10w7vAry%2Fthumbnail.jpg?alt=media&#x26;token=90f1b755-2672-4d92-9127-304f7bf40ab3" alt=""><figcaption><p>Creating document shortcode</p></figcaption></figure>

2. Copy and paste the generated shortcode into your post/ page.

You're all set. Go ahead and check out your result.&#x20;

<figure><img src="https://3041978267-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyIWF9CNHLQhdztdjt8Uo%2Fuploads%2FvEk6TUfz5SyoW7DYZo0v%2Fthumbnail%20works%20on%20frontend.jpg?alt=media&#x26;token=edb4034a-843e-43d1-bc71-291b0257c81e" alt=""><figcaption><p>Thumbnails shown on the frontend.</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://ninjateam.gitbook.io/filebird/addons/filebird-document-library/thumbnails.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
