# gpui: Make \`image\` example work regardless of how it is run \(\#24645\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 04d65cb3cd05c9ec8870288c65182cf096c68ee4

Requested commit: 04d65cb3cd05c9ec8870288c65182cf096c68ee4

Commit: 04d65cb3cd05c9ec8870288c65182cf096c68ee4

Tree: ef28b65f31e68371c582a0cca2658ebff9100e71

Author: Marshall Bowers

Committer: GitHub

## Message

```
gpui: Make `image` example work regardless of how it is run (#24645)

This PR updates the GPUI `image` example such that it works when run in
the following ways:

- `cargo run -p gpui --example image` from the repository root
- `cargo run --example image` from within `crates/gpui`

Release Notes:

- N/A
```

## Parents

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

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