# Image options

`Search Sources -> Image Options`<br>

![](/files/BOcW8uXbRoRR4qY4T0pZ)

## Image sources

```
Search Sources -> Image Options -> Primary image source / Secondary image source / ...
```

### Post Type Image Sources

![](/files/JKFAgmzM5VfoZSxP0H38)

The search will parse through the given image sources starting from the primary source. As soon as an image is found it returns that image to the main thread and displays it on the results list.

![](http://i.imgur.com/ABITbQW.png)

There are currently 6 different image sources to choose from:

* Featured image
* Post content parsing
* Post excerpt parsing
* Custom field as image source
* Page screenshot (WARNING - THIS IS AN EXTERNAL SOURCE, IT CAN BE VERY SLOW)
* The default image

### Image from a custom field

```
Search Sources -> Image Options -> Custom field containing the image
```

If you have choosen for any image source a custom field, then you must enter the name of the custom field which holds the image URL or the image ID (the plugin auto detects)

![](http://i.imgur.com/MRiAxlk.png)

### Parser options

#### Image number the parser should get from the fields

![](/files/-M2i0JBVHUawj1mtqQ5A)

If there are more then one images found in the corresponding field (such as the post content), then the plugin will use the image number specified here.

#### Image exclusions by file names

![](/files/-M2i0aDO0loZrv-aFfuO)

If an image file name matches any of the strings entered here, the plugin will ingore it.


---

# 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.ajaxsearchpro.com/general-settings/image-options.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.
