> For the complete documentation index, see [llms.txt](https://docs.feedotter.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.feedotter.com/set-up-your-own-template/advanced-template-information/filters/image-resize-filter.md).

# 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>
