# agent_ui: Recognize image file extensions case insensitively \(\#54786\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/ea4e948aeb9b0efc97925b836307464bdbd12c8f)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: ea4e948aeb9b0efc97925b836307464bdbd12c8f

Requested commit: ea4e948aeb9b0efc97925b836307464bdbd12c8f

Commit: ea4e948aeb9b0efc97925b836307464bdbd12c8f

Tree: 900b0f568a22abde5084b1813a7e3c4cd35e5ef1

Author: Tom Houlé

Committer: GitHub

## Message

```
agent_ui: Recognize image file extensions case insensitively (#54786)

Straightforward.

Closes https://github.com/zed-industries/zed/issues/54308

Release Notes:

- Fixed the file extension recognition logic for images in the agent UI
being case sensitive. It is now case insensitive.
```

## Parents

- [1afe44c1b6816d77ffa6104c682f717bbd075571](https://git.cafe/gitcafe/zed/commit/1afe44c1b6816d77ffa6104c682f717bbd075571?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/ea4e948aeb9b0efc97925b836307464bdbd12c8f?format=markdown)
