# Enable image support in remote projects \(\#39158\) · gitcafe/zed

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

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

Visibility: public

Requested revision: a112153a2e8a18be8550c76f8532766acf15b3a6

Requested commit: a112153a2e8a18be8550c76f8532766acf15b3a6

Commit: a112153a2e8a18be8550c76f8532766acf15b3a6

Tree: 9c2fa36554222a0c9911d663851c38f28c533343

Author: Cave Bats Of Ware

Committer: GitHub

## Message

```
Enable image support in remote projects (#39158)

Adds support for opening and displaying images in remote projects. The
server streams image data to the client in chunks, where the client then
reconstructs the image and displays it. This change includes:

- Adding `image` crate as a dependency for remote_server
- Implementing `ImageStore` for remote access
- Creating proto definitions for image-related messages
- Adding handlers for creating images for peers
- Computing image metadata from bytes instead of reading from disk for
remote images

Closes #20430
Closes #39104
Closes #40445

Release Notes:

- Added support for image preview in remote sessions.
- Fixed #39104

<img width="982" height="551" alt="image"
src="https://github.com/user-attachments/assets/575428a3-9144-4c1f-b76f-952019ea14cc"
/>
<img width="978" height="547" alt="image"
src="https://github.com/user-attachments/assets/fb58243a-4856-4e73-bb30-8d5e188b3ac9"
/>

---------

Co-authored-by: Julia Ryan <juliaryan3.14@gmail.com>
```

## Parents

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

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