-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
can not preview local pics in 0.11.13 #2834
Comments
I am experiencing the same issue. I added a comment here #1988 (comment) . |
A So in the case of When this issue is resolved, remember to modify this back to it's original state, or it might cause issues in loading the images properly. |
That seem to work but it is possible to result in error after the issue is resolved. So maybe we should just wait. |
Yea, that's why I said it's a quick fix. I guess a better word is temporary, I'll edit my original comment. |
…d that issue in the future + test modified so that they both contain tests for posix and windows path separator -> fixes BoostIO#2834
@ehhc the function |
The problem is the regex only matched the first '' not the following ones (separating the noteKey).. Nonetheless: i don't understand why the expression has to be that complicated instead of the simple form present before (and after my PR)... I completed the tests so that they test with a noteKey as well. |
@ehhc what is the generated html? |
@ehhc I found the error in the regex, pretty stupid 😭 |
We're trying to fix this now. After it fixed, I will release new version as soon as possible. |
I found the new problem, if I drag "Google_2015_logo.svg" to note, it will show like below
But if I try to locate and open the file "e78c79d4.svg", I will find it is a png format image. So I have to change the extension and change the markdown sentense with "new splash" to
Now it will work. This only happens in svg format. Png, jpg work well. |
@zzxxhhzxh i think that's another idependent problem.. Could you open a new issue for it? |
@zzxxhhzxh if you look at your jpg, you will see that in reality, it's an png. When pasting or dropping an image, Boostnote tries to fix its rotation (PR #2322), to do that, it converts the image as png... Ideally, there should be an option to disable this behaviour. |
Yes, you're right. The problem is that boostnote did not change the
extension for file. So it fails to show.
On Tue, Jan 29, 2019, 09:01 Baptiste Augrain ***@***.***> wrote:
@zzxxhhzxh <https://github.com/zzxxhhzxh> if you look at your jpg, you
will see that in reality, it's an png. When pasting or dropping an image,
Boostnote tries to fix its rotation (PR #2322
<#2322>), to do that, it
converts the image as png... Ideally, there should be an option to disable
this behaviour.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2834 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AonuFfb9O47rfd4bSktDKhLC1vhntxBBks5vIGJMgaJpZM4aUNOk>
.
--
ZHOU Xiaohuan
Tongji University,
Texas A&M University - Kingsville
|
It has been fixed v0.11.15. But, sadly, you have to install it manually because the auto updater in v0.11.13 is broken too... Please download it from https://github.com/BoostIO/boost-releases/releases/tag/v0.11.15. |
The image now displays properly once updated from v0.11.13 to v0.11.15. However, since the update changes the "" to"/", the photo is now not properly rendered in the exported html file. |
Current behavior
Can not show the pics(jpg,bmp,gif,svg) by markdown which is OK in previous version. But images by website is OK.
![Google_2015_logo.svg](:storage\65473ce7-2769-4949-ad80-e348f9f261c6\e78c79d4.svg)
Does not show image.
![](https://upload.wikimedia.org/wikipedia/commons/2/2f/Google_2015_logo.svg)
Does show image.
Expected behavior
Can show local images.
Steps to reproduce
Drag local pics to notes.
Environment
The text was updated successfully, but these errors were encountered: