# Gallery

You can add images (in png, jpg, gif formats), videos (in swf format) or files (all formats: doc, pdf, xlsx, etc.) in your answers.

Note: file formats of type .exe can not be imported.

To do so, you must first add these elements in the gallery. To access the gallery, go to **Content > Gallery**.

You can organize your gallery in folders. To add a new folder, click **Add** > **Create new folder in Root**.

A new window appears. Type the name of your folder, then click **Add**.

You can repeat the operation to add more folders and sub-folders.

To add an item to a folder, click the folder name and then **Add** > **Import a file in (folder name)**. Then click **Choose file**.

Select the file(s) you want to upload and confirm the operation by clicking **Import**. You will see your file(s) in column on the right.

<figure><img src="/files/tuLjnAkK4L0ZiP6bPjd8" alt=""><figcaption></figcaption></figure>

When you click on this file, you can preview the content, its size and a direct link to the file.

Once the item is saved in the gallery, you can use it in a reply. To do so, when editing an answer, place your cursor where you want to insert the item and then on the toolbar, click the **File manager** from the toolbar: ![](/files/dlCcbjD1uKxJpTHKwhkK)

Select your file: it will appear on your answer window.

Note that you will have the ability to change the size of images easily by clicking on the image.

For word, excel, pdf, etc. files, a download link is displayed.

### Insert videos (Youtube, etc.)

It is impossible at this time to host videos from the platform. However, it is possible to embed videos from platforms like YouTube, Dailymotion, etc.

To do so, you must use the code provided by these platforms and insert it directly into the HTML code of the answer (or sidebar).

YouTube example:

1. Go to the page of your YouTube video;
2. Click **Share**;

<figure><img src="/files/RFIiG8jMEHq3pJWuYYO4" alt=""><figcaption></figcaption></figure>

3. Click **Embed**;

<figure><img src="/files/6ybEzJLaoNULG1z18Uev" alt=""><figcaption></figcaption></figure>

4. Then copy the entire code

<figure><img src="/files/VZ0YYXej11KDY1NGJvbn" alt=""><figcaption></figcaption></figure>

5. Finally, paste all the code in the source code of your knowledge (HTML editor).

For google drive, be sure to take the given link when you click **Embed this video** (See <https://descary.com/integrez-video-google-drive-site-web-blogue/>).


---

# 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://docs-en.dydu.ai/contents/gallery.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.
