# Image Resize Filter

## Image Resize

An issue that often plagues email newsletters is inconsistent image sizes. To fix this we offer a filter that resizes and crops images so they all have a uniform size.

```
// Resize and crop the source image to 500px X 500px
[[post.image_url | resize(500,500)]]
```

<figure><img src="/files/Otl8MB95CCyyWYLb94zz" alt=""><figcaption></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://docs.feedotter.com/set-up-your-own-template/advanced-template-information/filters/image-resize-filter.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.
