This was fun to do! Rex now supports Kitty graphics protocol even for remote servers, including local files (on the remote!). The way this works is we intercept the file-based Kitty instructions and rewrite them to remote clients via in-band chunking.
That's cool on its own but whats extra cool is we do it with a < 1% IO impact on everything else. This was a challenge and it required changes in libghostty too (that everyone can take advantage of). Neat stuff.
In the screenshot below, the image file is being loaded from a local file on my Mac Studio, but I'm connected from a different location via my MacBook Pro.