# Autozoom

The autozoom function zooms the images so that the fill upp the entire screen even if their aspect ratio is different from the display.

For example, if the image has a wider aspect ratio than the screen (usually 16:9), it will add two black bars on top and bottom to preserve the original image ratio:

![](/files/-M_VSQyPPHFT5LF4pVB4)

However in some cases it is better to enable the autozoom so that the images cover the entire screen, even if that implies cutting some sides of the screen:

![](/files/-M_VSfQbvO4yI1_fqyvI)


---

# 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.castmill.com/content/playlists/autozoom.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.
