# Image Settings

![](/files/-MXqOUORI2rQKzftRYZb)

### Width, height and background position

![](/files/-MXqOfFwFoCzbTveIgYL)

Width and height should be numeric values, the pixel prefix is automatically appended. The display mode changes whether the image should cover the whole \[width x height] container, or should it be contained respecting the aspect ratio.

![Background display mode](/files/-MXqQ4kjMbXlviEy4tT_)

### Image sources

![](/files/-MXqQSJxdXQeTe5MjtPF)

The plugin parses through the primary, then the alternative image sources, until it finds an image to display. If no image is found, the default image URL is used.

#### Image number for the parser

![](/files/-MXqR85ErDsAlABwUdFJ)

By default the first image is returned, whenever the parser finds an image within each source. This feature is useful, when for example there are multiple images within the post contents, and you want to skip the first *N* of them.

#### Exclude images by file names

![](/files/-MXqRDP6rKcFZCM_ndFY)

Comma separated list of strings, whenever any of these is found, the image is skipped and the parser proceeds to the next possible image.


---

# 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://documentation.ajaxsearchlite.com/image-settings.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.
