-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to view image (binary) files #16
Comments
The error in the console is:
I believe this is because |
Thanks for reporting the issue! I'll try to take a look. I've been pretty busy and haven't been able to keep the plugins updated. As always PR are welcome :) |
I've had a go at this, but it looks like it is not possible to get ST to display an image that does not exist on the filesystem. Specifically, the I therefore think we will have to use a workaround. I have some ideas:
What do you think? I heard that ST2 doesn't support image preview, so probably we're looking at an ST3 specific implementation anyway. |
Thanks for taking a look at this, I'll take a closer look at the links you've provided. Yes, as far as I know, I'll have to create a branch for ST2 and ST3. No big deal there though, just something I need to do (for multiple of my plugins). It's great to see more functionality being added to ST3 though. Definitely felt like it stalled there for a while. |
Trying to use PackageResourceViewer to open a image (binary) file currently fails.
Tested in ST 3125 on Windows 7 x64.
Steps to reproduce:
PRV: O
and selectPackage Resource Viewer: Open Resource
Theme - Default
.png
file, for examplearrow_down.png
Failed to load image
The text was updated successfully, but these errors were encountered: